mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 02:28:58 +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
|
esac
|
||||||
fi
|
fi
|
||||||
gpg --batch --passphrase-fd 0 --no-tty --no-options --status-fd 1 -d "${keyfile}" \
|
print ${tombpass} | \
|
||||||
<<< ${tombpass} \
|
gpg --batch --passphrase-fd 0 --no-tty --no-options --status-fd 2 \
|
||||||
| grep 'DECRYPTION_OKAY'
|
-d "${keyfile}" 2> /dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
xxx "gpg decryption returns $ret"
|
xxx "gpg decryption returns $ret"
|
||||||
unset tombpass
|
unset tombpass
|
||||||
|
Loading…
Reference in New Issue
Block a user