Package: monkeysphere Version: 0.31-3 Severity: normal Tags: patch the revoke-key subcommand for monkeysphere-host appears to fail on monkeysphere 0.31-3. It is fixed upstream in 0.32 and later.
The attached patch fixes it. --dkg -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.37-rc5-686 (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages monkeysphere depends on: ii adduser 3.112+nmu2 add and remove users and groups ii gnupg 1.4.11-2 GNU privacy guard - a free PGP rep ii libcrypt-openssl-rsa-perl 0.25-1+b1 Perl module providing basic RSA fu ii libdigest-sha-perl 5.48-1 Perl extension for SHA-1/224/256/3 ii lockfile-progs 0.1.15 Programs for locking and unlocking ii perl [libdigest-sha-perl] 5.10.1-16 Larry Wall's Practical Extraction ii procmail 3.22-19 Versatile e-mail processor Versions of packages monkeysphere recommends: ii cron 3.0pl1-115 process scheduling daemon ii netcat-openbsd [netcat] 1.89-4 TCP/IP swiss army knife ii netcat-traditional [netcat] 1.10-38 TCP/IP swiss army knife ii openssh-client 1:5.5p1-5+b1 secure shell (SSH) client, for sec ii socat 1.7.1.3-1 multipurpose relay for bidirection ii ssh-askpass 1:1.2.4.1-9 under X, asks user for a passphras Versions of packages monkeysphere suggests: ii msva-perl [monkeysphere-valid 0.8~pre-1 Cryptographic identity validation -- Configuration Files: /etc/monkeysphere/monkeysphere-authentication.conf changed [not included] /etc/monkeysphere/monkeysphere-host.conf changed [not included] -- no debconf information
commit d37829e6c2dfdcac912a9d6e9203e62343f3dd01 Author: Micah Anderson <mi...@riseup.net> Date: Fri Oct 1 10:07:46 2010 -0400 fix revoke_key typo in creating temporary directory fix variable specifying which key to revoke monkeysphere-host revoke-key <key-id> would produce the following errors, this commit fixes that: Really publish this cert to zimmermann.mayfirst.org ? (Y/n) y /usr/share/monkeysphere/mh/revoke_key: line 96: mkmstempdir: command not found gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run gpg: "0x!" not a key ID: skipping diff --git a/src/share/mh/revoke_key b/src/share/mh/revoke_key index 5a013e0..9077e4c 100644 --- a/src/share/mh/revoke_key +++ b/src/share/mh/revoke_key @@ -93,10 +93,10 @@ y if [ "${really/n/N}" = 'N' ] ; then printf "Not publishing.\n" >&2 else - local newhome=$(mkmstempdir) + local newhome=$(msmktempdir) GNUPGHOME="$newhome" gpg --no-tty --quiet --import < "$HOST_KEY_FILE" GNUPGHOME="$newhome" gpg --no-tty --quiet --import <<< "$revcert" - GNUPGHOME="$newhome" gpg --keyserver "$KEYSERVER" --send "0x${HOST_FINGERPRINT}!" + GNUPGHOME="$newhome" gpg --keyserver "$KEYSERVER" --send "0x${keyID}!" rm -rf "$newhome" fi fi