Koji support for larger gpg rpm signatures

seth vidal skvidal at fedoraproject.org
Tue Jan 20 00:42:49 UTC 2009


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.

-sv





More information about the Fedora-buildsys-list mailing list