Discrepancies in extracted photo-id images from dumps

Stefan Claas sac at 300baud.de
Sat Jan 19 21:37:33 CET 2019


On Sat, 19 Jan 2019 19:56:00 +0100, Ingo Klöcker wrote:
> On Samstag, 19. Januar 2019 17:10:38 CET Stefan Claas wrote:
> > Method used with GnuPG:
> > 
> > In gpg.conf i put: photo-viewer "cat > %K.%t"
> > 
> > and then i used this one liner:
> > 
> > for filename in ./*.pgp; do gpg --list-keys --list-options show-photo
> > --keyring "${filename}"; done  
> 
> This will result in at most 1 image per key because your fake photo-viewer 
> overwrites photos for keys containing multiple photo-ids (%K.%t is identical 
> for all photo-ids of a key). Using
> photo-viewer "cat > %K.%U.%t"
> instead should fix this.

Great tip, thanks a lot!

Regards
Stefan



More information about the Gnupg-users mailing list