ignoring time conflict when extracting info in a hacky way from gpg. warnings still...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 19 Jan 2010 07:36:20 +0000 (02:36 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 19 Jan 2010 07:36:20 +0000 (02:36 -0500)
src/share/common

index 039c06cb804a2d267768c0b846cd1e79e0a04e22..21f30656526c2684f49a7d5c54f883fb2f6424a3 100644 (file)
@@ -1200,7 +1200,7 @@ process_authorized_user_ids() {
 list_primary_fingerprints() {
     local fake=$(msmktempdir)
     trap "rm -rf $fake" EXIT
-    GNUPGHOME="$fake" gpg --no-tty --quiet --import
+    GNUPGHOME="$fake" gpg --no-tty --quiet --import --ignore-time-conflict
     GNUPGHOME="$fake" gpg --with-colons --fingerprint --list-keys | \
        awk -F: '/^fpr:/{ print $10 }'
     trap - EXIT
@@ -1213,8 +1213,8 @@ list_primary_fingerprints() {
 get_cert_info() {
     local fake=$(msmktempdir)
     trap "rm -rf $fake" EXIT
-    GNUPGHOME="$fake" gpg --no-tty --quiet --import
-    GNUPGHOME="$fake" gpg --with-colons --fingerprint --list-keys "$1"
+    GNUPGHOME="$fake" gpg --no-tty --quiet --import --ignore-time-conflict
+    GNUPGHOME="$fake" gpg --with-colons --fingerprint --fixed-list-mode --list-keys "$1"
     trap - EXIT
     rm -rf "$fake"
 }