mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-19 08:36:18 +00:00
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:
parent
91886bb3ff
commit
cc89d6832d
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user