We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8682832 commit c5c0ee9Copy full SHA for c5c0ee9
.github/workflows/sync-binaries-task.yml
@@ -43,11 +43,13 @@ jobs:
43
run: |
44
./firmware/generator.py
45
46
+ # fix `gpg: signing failed: Inappropriate ioctl for device`
47
+ # https://github.com/keybase/keybase-issues/issues/2798
48
- name: Import GPG key
49
- echo "${{ secrets.GPG_PRIVATE_KEY }}" | \
- base64 -di | \
50
- gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}"
+ echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 -di > /tmp/private.key
51
+ gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}" /tmp/private.key
52
+ echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
53
54
# disable gpg pass prompt
55
# https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command
0 commit comments