commit fc84c27a49b0b294eda66eae495ef6b790dc6202 parent a5d09a055977ae544f940dd8e5fcca14a531c820 Author: Jaromil <jaromil@dyne.org> Date: Sun, 31 Mar 2013 10:25:57 +0200 small fix in password processing Diffstat:
M | src/tomb | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tomb b/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