From 0f6353059da451d3ed182cfb18e8eafea1348a85 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Fri, 15 Jan 2010 20:17:15 -0500 Subject: Try to fix monkeysphere-host and tests/basic for revoke-key test Unfortunately there's still a problem that I can't quite figure out. gpg is for some reason failing to import that revocation certificate. Could it be because gpg can't accept ascii armored certificates as input? I'm at a loss. --- src/monkeysphere-host | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/monkeysphere-host b/src/monkeysphere-host index b45b50e..903e333 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -174,11 +174,6 @@ multi_key() { if [[ -z "$1" || "$1" == '--all' ]] ; then keys="${fprs[@]}" - else - for key in $keys ; do - printf '%s\n' "${fprs[@]}" | grep "${key}$" \ - || failure "Key '$key' not found." - done fi for key in $keys ; do @@ -208,7 +203,10 @@ show_key() { # create the ssh key TMPSSH="$GNUPGHOME"/ssh_host_key_rsa_pub - gpg --export "$id" | openpgp2ssh 2>/dev/null >"$TMPSSH" + if ! gpg --export "$id" 2>/dev/null \ + | openpgp2ssh 2>/dev/null >"$TMPSSH" ; then + failure "Key '$id' not found." + fi # get the gpg fingerprint fingerprint=$(gpg --quiet --list-keys \ -- cgit v1.2.3 ref='/notmuch/tree/tags/ca/f3?h=master'>treecommitdiff
path: root/tags/ca/f3
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/ca/f3
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/ca/f3')
-rw-r--r--tags/ca/f3/10135a28-12c3-11ec-8e05-05886d18984a@facebookmail.com/inbox0
-rw-r--r--tags/ca/f3/10135a28-12c3-11ec-8e05-05886d18984a@facebookmail.com/killed0
-rw-r--r--tags/ca/f3/10135a28-12c3-11ec-8e05-05886d18984a@facebookmail.com/unread0
-rw-r--r--tags/ca/f3/20110305075417.GC27906@rivendell.home.ouaza.com/debian0
-rw-r--r--tags/ca/f3/20170702180305.714316F41@lxp5.free-owl.de/sys0
-rw-r--r--tags/ca/f3/20170702180305.714316F41@lxp5.free-owl.de/unread0
-rw-r--r--tags/ca/f3/20171204140403.0844F1C0EE@jawa.homebase.dk/hb0
-rw-r--r--tags/ca/f3/20171204140403.0844F1C0EE@jawa.homebase.dk/sys0
-rw-r--r--tags/ca/f3/20171204140403.0844F1C0EE@jawa.homebase.dk/unread0
-rw-r--r--tags/ca/f3/27832864.14780.40396@wordpress.com/unread0
-rw-r--r--tags/ca/f3/E1IiTBQ-0005ha-Ch@maintainer.skolelinux.no/debian0
-rw-r--r--tags/ca/f3/d8d17620ea85c769e0aa5ecbfbdc62f0@2d4a6334d2f2bb73c1c106ccaf5b5e83c5a47abe274260dadc6a33286199d452/unread0
-rw-r--r--tags/ca/f3/p06002009bba9b530777d@%5b192.168.103.252%5d/inbox0
-rw-r--r--tags/ca/f3/p06002009bba9b530777d@%5b192.168.103.252%5d/old0
-rw-r--r--tags/ca/f3/t2t4IkgwISL.A.LUG.lhrCSB@bendel/debian0
-rw-r--r--tags/ca/f3/t2t4IkgwISL.A.LUG.lhrCSB@bendel/unread0
16 files changed, 0 insertions, 0 deletions