-
Ondrej Kozina authored
The crypt_keyslot_add_by_keyslot_context & associated helper functions allow more options when adding new keyslot. For example there was no simple way of adding new LUKS2 keyslot when the only active keyslot could be unlocked by passphrase (KEK) provided by LUKS2 token (plugin). Now all available options for unlocking keyslots may also be used when creating new keyslot and it combine as called needs. The available methods (keyslot contexts) are: passphrase, keyfile, key (binary representation) and LUSK2 token.
b867f0b5