Umbrella #25917: Move business logic from Django to middlewared and make websocket API feature complete
Convert Storage:Volume Add Recovery Key to Middlewared
We need to change legacy UI to add recovery key to a volume using middlewared calls (this is to make sure v1.0 API will continue working as expected)
We need to create associated middlewared API transferring logic from legacy UI code.
This is a medium risk task, we may introduce new bugs on add recovery key.
When this is done we should be able to continue to adding a recovery key a volume at full extent when using legacy UI.
- Status changed from Ready for Testing to Passed Testing
- Needs QA changed from Yes to No
Test Passed FreeNAS-11.3-MASTER-201903281043
1. Created encrypted volume in Legacy UI. Passphrase created, added a recovery key.
2. Locked the volume, unlocked with passphrase and newly downloaded recovery key successfully.
3. Locked volume in Legacy, switched to Web UI, unlocked volume successfully
4. Locked volume in Web UI, switched to Legacy, unlocked volume successfully