add credentials situated in the luks header to credential list
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-09-19 18:23:21 +02:00
parent 086c1a0594
commit 55bae4161e
2 changed files with 63 additions and 52 deletions

View File

@@ -7,4 +7,8 @@ if [ -z "$FIDO2LUKS_PASSWORD_HELPER" ]; then
export FIDO2LUKS_PASSWORD_HELPER="plymouth ask-for-password --prompt '$MSG'"
fi
if [ "$FIDO2LUKS_USE_TOKEN" -eq 1 ]; then
export FIDO2LUKS_CREDENTIAL_ID="$FIDO2LUKS_CREDENTIAL_ID,$(fido2luks token list --csv $CRYPTTAB_SOURCE)"
fi
fido2luks print-secret --bin