feature request: --show-photos additions

Simon Josefsson jas@extundo.com
Tue Jul 2 22:01:02 2002


David Shaw <dshaw@jabberwocky.com> writes:

> On Tue, Jul 02, 2002 at 06:02:23PM +0200, Simon Josefsson wrote:
>> Two things I miss in the photo id stuff:
>> 
>> 1) A possibility of outputing the JPEG image programmatically.
>
> This is in 1.2 (soon), or the 1.1.90 devel snapshot.

How do I use it?

I've tried

$ gpg --list-keys B565716F --photo-viewer 'cat>foo' --show-photos
$ gpg --list-keys B565716F --photo-viewer 'echo %I' --show-photos

but it still forked the default photo viewer and didn't do anything
else.  I don't have any photo-viewer in my options file.

>> 2) An option for viewing any photo ID present in keys used for
>>    verifying contents.  Putting show-photos in options works fine, but
>>    only for list-keys and others, not for verifying data.
>
> Hmm.  I'm not sure I understand what you mean here.  Do you mean show
> the photo when a signature from that key is checked?

Yes.  Ideally I'd like my mail reader to show the JPEG alongside the
GPG result (which is why I want 1), but it probably requires some code
in the mailreader, so it would be nice if GPG started the photo viewer
whenever I verify some data from my mail reader.