We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e11453 commit 62138d6Copy full SHA for 62138d6
.github/workflows/main.yml
@@ -232,8 +232,9 @@ jobs:
232
# Start gpg-agent with loopback pinentry
233
gpg-agent --daemon --allow-loopback-pinentry
234
235
- # Import the subkey (passphrase will be provided via pinentry loopback)
236
- echo "$GPG_PRIVATE_KEY" | gpg --batch --yes --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" --import
+ # Import the subkey using passphrase via stdin
+ # Note: --passphrase-fd 0 reads passphrase from stdin
237
+ echo "$GPG_PASSPHRASE" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --import <<< "$GPG_PRIVATE_KEY"
238
239
# Trust the key (required for signing)
240
# Use ultimate trust (6) for the subkey
0 commit comments