Gpg init fails to import key #370

Closed
opened 2022-10-17 18:54:49 +00:00 by dajoen74 · 1 comment
dajoen74 commented 2022-10-17 18:54:49 +00:00 (Migrated from gitea.com)

The gpg configure init container fails with the following errors:

gpg: error building skey array: Not a tty                                           
gpg: error reading '/raw/private.asc': Not a tty                                 
gpg: import from '/raw/private.asc' failed: Not a tty 

This is because the script looks like this:

#!/usr/bin/env bash
set -eu

gpg --import /raw/private.asc

Adding the --batch switch would solve this issue.

The gpg configure init container fails with the following errors: ``` gpg: error building skey array: Not a tty gpg: error reading '/raw/private.asc': Not a tty gpg: import from '/raw/private.asc' failed: Not a tty ``` This is because the script looks like this: ``` #!/usr/bin/env bash set -eu gpg --import /raw/private.asc ``` Adding the --batch switch would solve this issue.
justusbunsi commented 2022-10-17 19:55:14 +00:00 (Migrated from gitea.com)

Strange that this never came up during development. Thanks for reporting and the PR.

Strange that this never came up during development. Thanks for reporting and the PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#370
No description provided.