Skip to content

Commit

Permalink
Fail on gpg-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Jun 21, 2022
1 parent a4fb49f commit fc42b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sign.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

gpg-agent --daemon --default-cache-ttl 7200 || true
gpg-agent --daemon --default-cache-ttl 7200
echo "${GPG_PRIVATE_KEY}" | gpg --import --batch --no-tty
echo "hello world" > temp.txt
gpg --detach-sig --yes -v --output=/dev/null --pinentry-mode loopback --passphrase "${PASSPHRASE}" temp.txt
Expand Down

0 comments on commit fc42b16

Please sign in to comment.