Skip to content

Commit df341ba

Browse files
authored
Merge pull request #400 from cdalvaro/bugfix/gpg_import_key
fix(gpg): remove --pinentry-mode loopback from key import
2 parents f921905 + 307abf0 commit df341ba

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

assets/runtime/functions.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,7 @@ function _setup_gpgkeys() {
556556
chmod 700 "${SALT_GPGKEYS_DIR}"
557557

558558
local GPG_COMMON_OPTS=(
559-
--no-tty
560-
--batch # non-interactive mode
561-
--pinentry-mode loopback # do not use gpg-agent
559+
--no-tty --batch # non-interactive mode
562560
--homedir="${SALT_GPGKEYS_DIR}"
563561
)
564562

0 commit comments

Comments
 (0)