diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-01-19 02:36:20 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-01-19 02:36:20 -0500 |
commit | e1853a59e0421ee61b5066179632b9fc31116717 (patch) | |
tree | 2e51799b464860768ca3462f81e87bf9ce011056 | |
parent | 6c9d5f56e446cd4f16cc271bd91aa3d4bc4b5f9f (diff) |
ignoring time conflict when extracting info in a hacky way from gpg. warnings still come out to stderr
-rw-r--r-- | src/share/common | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/common b/src/share/common index 039c06c..21f3065 100644 --- a/src/share/common +++ b/src/share/common @@ -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" } |