From 9b9b23c821e9309dd04cc3f193885ec5f32a0fdc Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Mon, 18 Jan 2010 17:28:43 -0500 Subject: made public use of m-h show-keys instead of show-key, fixed stupid field-numbering bug in fingerprint extraction --- src/monkeysphere-host | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/monkeysphere-host') diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 2335f1a..c9b6a4c 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -93,12 +93,12 @@ gpg_host_edit() { update_pgp_pub_file() { log debug "updating openpgp public key file '$HOST_KEY_FILE'..." gpg_host --export --armor --export-options export-minimal \ - $(gpg_host --list-secret-keys --with-colons --fingerprint | grep ^fpr | cut -f9 -d:) \ + $(gpg_host --list-secret-keys --with-colons --fingerprint | grep ^fpr | cut -f10 -d:) \ > "$HOST_KEY_FILE" } host_fingerprints() { - local fprs=($(<"$HOST_KEY_FILE" "$SYSSHAREDIR/keytrans" listfprs)) + local fprs=($(gpg_host --list-secret-keys --with-colons --fingerprint | grep ^fpr: | cut -f10 -d:)) log debug "host key fingerprints:" printf '%s\n' "${fprs[@]}" | log debug @@ -136,7 +136,7 @@ Please run 'monkeysphere-host import-key' to import a key." *) if [ -z "$keyID" ] ; then failure "Your host keyring contains multiple keys. -Please specify one to act on (see 'monkeysphere-host show-key')." +Please specify one to act on (see 'monkeysphere-host show-keys')." fi ;; esac -- cgit v1.2.3 gs/b2/8a'>
path: root/tags/b2/8a
diff options
context:
space:
mode:
Diffstat (limited to 'tags/b2/8a')
-rw-r--r--tags/b2/8a/008701cc0e51%2484bd4c80%248e37e580%24@thetaphi.de/debian0
-rw-r--r--tags/b2/8a/20130616051200.C30458B75A@pluto.dgi-huset.dk/dgih0
-rw-r--r--tags/b2/8a/20130616051200.C30458B75A@pluto.dgi-huset.dk/sys0
-rw-r--r--tags/b2/8a/20130616051200.C30458B75A@pluto.dgi-huset.dk/unread0
-rw-r--r--tags/b2/8a/20171111110002.CE00173B6@lxp5.free-owl.de/sys0
-rw-r--r--tags/b2/8a/20171111110002.CE00173B6@lxp5.free-owl.de/unread0
-rw-r--r--tags/b2/8a/20171127180002.0FF7E781C@lxp5.free-owl.de/sys0
-rw-r--r--tags/b2/8a/20171127180002.0FF7E781C@lxp5.free-owl.de/unread0
-rw-r--r--tags/b2/8a/E1jgbRI-0009zG-0E@fasolo.debian.org/debian0
-rw-r--r--tags/b2/8a/E1jgbRI-0009zG-0E@fasolo.debian.org/inbox0
-rw-r--r--tags/b2/8a/E1jgbRI-0009zG-0E@fasolo.debian.org/killed0
-rw-r--r--tags/b2/8a/E1jgbRI-0009zG-0E@fasolo.debian.org/unread0
-rw-r--r--tags/b2/8a/E1kzXw9-0003zA-7h@respighi.debian.org/debian0
-rw-r--r--tags/b2/8a/E1kzXw9-0003zA-7h@respighi.debian.org/inbox0
-rw-r--r--tags/b2/8a/E1kzXw9-0003zA-7h@respighi.debian.org/killed0
-rw-r--r--tags/b2/8a/E1kzXw9-0003zA-7h@respighi.debian.org/unread0
-rw-r--r--tags/b2/8a/F282D0F7-64EF-4808-A835-8F4268C68659@kaospilot.dk/hb0
-rw-r--r--tags/b2/8a/F282D0F7-64EF-4808-A835-8F4268C68659@kaospilot.dk/kp0
-rw-r--r--tags/b2/8a/F282D0F7-64EF-4808-A835-8F4268C68659@kaospilot.dk/unread0
19 files changed, 0 insertions, 0 deletions