initramfs-tools
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-07-03 13:54:43 +00:00
committed by shimun
parent a498e1416f
commit 298e05fed7
7 changed files with 395 additions and 1 deletions

9
initramfs-tools/keyscript.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -a
. /etc/fido2luks.conf
if [ -z "$FIDO2LUKS_PASSWORD_HELPER" ]; then
export FIDO2LUKS_PASSWORD_HELPER="plymouth ask-for-password --promt 'FIDO2 password salt for $CRYPTTAB_NAME'"
fi
fido2luks print-secret --bin