Koji support for larger gpg rpm signatures

Mike McLean mikem at redhat.com
Tue Jan 20 15:07:42 UTC 2009


seth vidal wrote:
> On Mon, 2009-01-19 at 18:38 -0600, Jeffrey Ollie wrote:
>> On Mon, Jan 19, 2009 at 6:18 PM, Jesse Keating <jkeating at redhat.com> wrote:
>>> Is there anything better we can do instead of snaking raw data out of
>>> headers?
>> Use pygpgme?
>>
>>     import gpgme
>>
>>     ctx = gpgme.Context()
>>
>>     key = ctx.get_key('6D97044E')
>>
>>     print [subkey.length for subkey in key.subkeys]
>>
>> The docs for gpgme/pygpgme aren't great but I have a little experience
>> with it so we can probably figure out what needs to be done.  Can you
>> point out where exactly in the code the problem is?
> 
> That won't let you pull the signature out of an rpm header. though.

Well, the code is probably pulling the signature correctly, it's just 
not reading the key from said signature correctly. Perhaps pygpgme can 
do that for us?




More information about the Fedora-buildsys-list mailing list