gpg needs to be called with --no-tty at that point, since pintentry-tty is used to enter passphrase. Else, gpg complaints of not being able to open /dev/tty, even though GPG_TTY environmenent variable is forced in init

This commit is contained in:
Thierry Laurion 2018-11-14 19:43:05 -05:00
parent 91886bb3ff
commit cc89d6832d

View File

@ -49,7 +49,7 @@ if [ -z "$param_files" ]; then
fi
for tries in 1 2 3; do
if sha256sum $param_files | gpg \
if sha256sum $param_files | gpg --no-tty\
--digest-algo SHA256 \
--detach-sign \
-a \