-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many: update install api to support passphrase authentication (#14845)
* many: add skeleton to expose encryption features for target install system Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * many: update install api to support passphrase authentication This just allows passing the authentication options during the setup-storage-encryption install step but the underlying passphrase support implementation is not there yet. Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! secboot: add AuthModePIN Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! client: add pin-auth feature enum Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! daemon: use field initializers for readability Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! o/devicestate: fix test matching old error message Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! daemon: drop default initialization values Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! many: move VolumesAuthOptions under gadget/device This avoids import snapd/secboot from the client package Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! many: mark setup task when volumes auth is set This protects against an unexpected restart of snapd where the cached auth options will not be there. In this case, the task should detect this and fail. Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> * fixup! gadget/install: formatting improvements Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com> --------- Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com>
- Loading branch information
1 parent
9d06b3d
commit b99bb24
Showing
16 changed files
with
397 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.