From eaf3b55b68944f0a495c560ebf39f7762142c5e6 Mon Sep 17 00:00:00 2001 From: Baris Metin Date: Mon, 2 May 2011 17:54:15 -0400 Subject: [PATCH] fix gpg update. this issue raises in gpg2 (hangs in SL6), but it's considered as a bug in gpg1 https://bugs.g10code.com/gnupg/issue1122 --- plc.d/gpg | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/plc.d/gpg b/plc.d/gpg index 304b1ea..3993f42 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -86,12 +86,25 @@ EOF ) IFS=$OLDIFS - # Add a new UID if appropriate. GPG will detect and merge duplicates. - gpg --homedir=$homedir --no-permission-warning --batch --no-tty --yes \ - --no-default-keyring \ - --secret-keyring=$PLC_ROOT_GPG_KEY \ - --keyring=$PLC_ROOT_GPG_KEY_PUB \ - --command-fd 0 --status-fd 1 --edit-key $fingerprint <