mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-22 18:18:59 +00:00
small fix in password processing
This commit is contained in:
parent
a5d09a0559
commit
fc84c27a49
6
src/tomb
6
src/tomb
@ -1032,9 +1032,9 @@ get_lukskey() {
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
gpg --batch --passphrase-fd 0 --no-tty --no-options --status-fd 1 -d "${keyfile}" \
|
||||
<<< ${tombpass} \
|
||||
| grep 'DECRYPTION_OKAY'
|
||||
print ${tombpass} | \
|
||||
gpg --batch --passphrase-fd 0 --no-tty --no-options --status-fd 2 \
|
||||
-d "${keyfile}" 2> /dev/null
|
||||
ret=$?
|
||||
xxx "gpg decryption returns $ret"
|
||||
unset tombpass
|
||||
|
Loading…
Reference in New Issue
Block a user