From 5b9f03d19821628ea911d4ea4b6a6ed090527dda Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 10 Oct 2017 20:27:51 +0300 Subject: [PATCH] gpg: show warnings while importing new pubkey --- scripts/gpg-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gpg-init b/scripts/gpg-init index 36029aa..13ba314 100755 --- a/scripts/gpg-init +++ b/scripts/gpg-init @@ -21,7 +21,7 @@ chmod 700 "${HOMEDIR}" # Generate new GPG identity and import into GPG keyring $DEVICE-gpg create -v "${USER_ID}" -t "${TIMESTAMP}" -e "${CURVE}" ${ARGS} > "${HOMEDIR}/pubkey.asc" -${GPG_BINARY} --homedir "${HOMEDIR}" --import < "${HOMEDIR}/pubkey.asc" 2> /dev/null +${GPG_BINARY} --homedir "${HOMEDIR}" -q --import < "${HOMEDIR}/pubkey.asc" rm -f "${HOMEDIR}/S.gpg-agent" # (otherwise, our agent won't be started automatically) # Make new GPG identity with "ultimate" trust (via its fingerprint)