-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: add config support for TPM FDE (#1681)
Extend the *storage schema* to allow selecting TPM FDE as encryption method and adapt *config checker* to complain if TPM FDE is selected but is not available.
- Loading branch information
Showing
16 changed files
with
284 additions
and
130 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"storage": { | ||
"drives": [ | ||
{ | ||
"encryption": { | ||
"luks1": { | ||
"password": "12345", | ||
"cipher": "aes-xts-plain64", | ||
"keySize": 512 | ||
} | ||
} | ||
}, | ||
{ | ||
"partitions": [ | ||
{ | ||
"encryption": { | ||
"luks2": { | ||
"password": "12345", | ||
"cipher": "aes-xts-plain64", | ||
"keySize": 512, | ||
"pbkdFunction": "argon2i", | ||
"label": "data" | ||
} | ||
} | ||
}, | ||
{ | ||
"encryption": { | ||
"pervasiveLuks2": { | ||
"password": "12345" | ||
} | ||
} | ||
}, | ||
{ | ||
"encryption": { | ||
"tpmFde": { | ||
"password": "12345" | ||
} | ||
} | ||
}, | ||
{ | ||
"encryption": "protected_swap" | ||
}, | ||
{ | ||
"encryption": "secure_swap" | ||
}, | ||
{ | ||
"encryption": "random_swap" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
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
50 changes: 0 additions & 50 deletions
50
service/lib/agama/storage/config_conversions/to_json_conversions/luks1.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.