Package: signing-party
Version: 1.1.4-1
Severity: normal
Tags: patch

Hello,

While playing with gpgsigs, I found that it could generate LaTeX output
with the photo IDs, but that it did not really work:

     $ LANG=en_US.UTF-8 gpg --fingerpring --list-keys > gpg-keys
     $ LANG=en_US.UTF-8 gpgsigs -f UTF-8 --latex 4B10D847 \
         gpg-keys >! gpg-keys-annotated.tex
     zsh:1: command not found: gpgsigs-eps-helper
     gpg: unable to display photo ID!
     […]

This is because gpgsigs tells gpg to call gpgsigs-eps-helper to
“display” the photo IDs, while this helper is not in $PATH. Indeed, it
is in fact installed to /usr/share/signing-party/.

This is a patch that should solve this issue, by asking gpg to use
/usr/share/signing-party/gpgsigs-eps-helper.

Regards,

-- 
  ,--.
: /` )   Tanguy Ortolo      <xmpp:tan...@ortolo.eu>
| `-'    Debian Developer   <irc://irc.oftc.net/Tanguy>
  \_
Index: gpgsigs/gpgsigs
===================================================================
--- gpgsigs/gpgsigs	(révision 495)
+++ gpgsigs/gpgsigs	(copie de travail)
@@ -182,7 +182,7 @@
 		if ($latex and not $photocount) { # call once per key
 			my ($shortkey) = substr $key, -8;
 			system "rm -f $shortkey.[1-9]*.eps";
-			system "gpg --photo-viewer 'gpgsigs-eps-helper $shortkey' --list-options show-photos --list-key $key > /dev/null";
+			system "gpg --photo-viewer '/usr/share/signing-party/gpgsigs-eps-helper $shortkey' --list-options show-photos --list-key $key > /dev/null";
 			$photocount = 1;
 		}
 		my ($shortkey) = substr $key, -8;

Reply via email to