Re: Just messing arround

seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Fri, 26 Mar 2004 14:06:14 -0500
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <1080327973.26468.8.camel@binkley>
On Fri, 2004-03-26 at 10:30 -0500, Adam T. Gautier wrote:

> Is it even possible to open a YUM .hdr using ts.hdrFromFdno()?  What VSF 
> flags would I need since I keep failing on 'public key not trusted'?
> 
> Just curious and thought this would be faster than digging through code.

yum .hdr's are gzipped. open them with the gzip modules first.
you want to turn of gpg checking

these flags:
~(rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD)

should disable gpg sig checking.

-sv