fido2luks/initramfs-tools/keyscript.sh
shimun 0f6d79a7e4
Some checks failed
continuous-integration/drone/push Build is failing
get plymouth to display a message
2020-08-11 22:41:21 +02:00

12 lines
273 B
Bash
Executable File

#!/bin/sh
set -a
. /etc/fido2luks.conf
if [ -z "$FIDO2LUKS_PASSWORD_HELPER" ]; then
MSG="FIDO2 password salt for $CRYPTTAB_NAME"
export FIDO2LUKS_PASSWORD_HELPER="plymouth ask-for-password --promt '$MSG'"
plymouth message --text "$MSG"
fi
fido2luks print-secret --bin