mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 15:10:55 +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