mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
cryptenroll: Add support for unlocking through TPM2 enrollments
This commit is contained in:
@@ -52,6 +52,7 @@ _systemd_cryptenroll() {
|
||||
--password --recovery-key'
|
||||
[ARG]='--unlock-key-file
|
||||
--unlock-fido2-device
|
||||
--unlock-tpm2-device
|
||||
--pkcs11-token-uri
|
||||
--fido2-credential-algorithm
|
||||
--fido2-device
|
||||
@@ -81,6 +82,9 @@ _systemd_cryptenroll() {
|
||||
--unlock-fido2-device)
|
||||
comps="auto $(__get_fido2_devices)"
|
||||
;;
|
||||
--unlock-tpm2-device)
|
||||
comps="auto $(__get_tpm2_devices)"
|
||||
;;
|
||||
--pkcs11-token-uri)
|
||||
comps='auto list pkcs11:'
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user