[fix] single key file not unlocking

This commit is contained in:
Alex 2021-04-11 19:37:16 +02:00
parent a7f96f54ab
commit 89b86f4384
1 changed files with 1 additions and 2 deletions

View File

@ -17,6 +17,7 @@ DECIPHER_COMMAND=${DECIPHER_COMMAND:-/usr/bin/pkcs15-crypt}
DECIPHER_ARGS=${DECIPHER_ARGS:-'--decipher --pkcs1 --raw --input'}
DECIPHER_ASK_PIN=${DECIPHER_ASK_PIN:-'--pin'}
DECIPHER_MULTI=${DECIPHER_MULTI:-0}
KEY="${1}"
check_plymouth() {
plymouth=0
@ -46,8 +47,6 @@ check_key() {
temp=$($DECIPHER_MULTI_SCRIPT)
KEY=$(echo $temp | awk '{print $1}')
DECIPHER_EXTRA_ARGS=$(echo $temp | awk '{$1=""; print}')
else
KEY=$1
fi
}