Re: Extract signature key ID with gpgme

2018-01-11 Thread Werner Koch
On Thu, 11 Jan 2018 07:19, al...@archlinux.org said: > I am looking for a way to extract the issuer key ID from a signature > file using gpgme without firstly having verified the signature. There is no API for this and I am not sure how to do this best. The straightforward method would be to let

Re: Extract signature key ID with gpgme

2018-01-11 Thread Daniel Kahn Gillmor
On Thu 2018-01-11 16:19:10 +1000, Allan McRae wrote: > I am looking for a way to extract the issuer key ID from a signature > file using gpgme without firstly having verified the signature. > Basically, doing something like what gpg --list-packets does. > > My software current has a homemade sig f

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2018-01-11 Thread Daniel Kahn Gillmor
On Sun 2018-01-07 23:23:16 +1100, gn...@raf.org wrote: > For the actual decryption, I'm using sudo. From the original > post, the command to set things up contains something like: > > /usr/bin/screen -- \ > /usr/bin/sudo -u thing --set-home -- \ > /usr/bin/gpg-agent --homedir /etc/thing/.gnup

Re: is there a preferred order to building dependencies for gnupg2

2018-01-11 Thread Werner Koch
On Wed, 10 Jan 2018 12:39, dgouttegat...@incenp.org said: > Libgpg-error should be built first as it is required by all other > libraries except npth. Right. I have a standard build order, though. This is codified in the speedo build script make -f $GNUPGSRC/build-aux/speedo.mk Would it be

Extract signature key ID with gpgme

2018-01-11 Thread Allan McRae
Hi, I am looking for a way to extract the issuer key ID from a signature file using gpgme without firstly having verified the signature. Basically, doing something like what gpg --list-packets does. My software current has a homemade sig file parser that extracts the key ID from a number of signa