Optional luks2Hash with enum

This commit is contained in:
abalfoort 2023-05-31 18:23:00 +02:00
parent c4496ef86b
commit 1963dd3412
2 changed files with 7 additions and 4 deletions

View File

@ -5,6 +5,9 @@
# LUKS encrypted devices. # LUKS encrypted devices.
--- ---
# Set Password-Based Key Derivation Function (PBKDF) algorithm # Set Password-Based Key Derivation Function (PBKDF) algorithm
# for LUKS keyslot. The PBKDF can be: pbkdf2, argon2i or argon2id. # for LUKS keyslot.
# Default: pbkdf2 #
luks2Hash: pbkdf2 # There are three usable values: pbkdf2, argon2i or argon2id.
#
# When not set, the cryptsetup default is used
#luks2Hash: argon2id

View File

@ -6,4 +6,4 @@ $id: https://calamares.io/schemas/luksbootkeyfile
additionalProperties: false additionalProperties: false
type: object type: object
properties: properties:
luks2Hash: { type: string } luks2Hash: { type: string, enum: [ pbkdf2, argon2i, argon2id ] }