summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
AgeCommit message (Expand)AuthorFilesLines
2011-11-01Eliminate buggy pgpPrtComment()Panu Matilainen1-29/+0
2011-11-01Verify PGP key packet sizes and number of MPIs match expectations, part IIPanu Matilainen1-28/+32
2011-11-01Verify PGP key packet sizes and number of MPIs match expectationsPanu Matilainen1-29/+34
2011-10-26Verify MPI size is within packet boundary in pgpMpiItem()Panu Matilainen1-9/+20
2011-10-26Remove support for V3 public keysPanu Matilainen1-40/+3
2011-10-26We dont deal with secret keys, leave them alonePanu Matilainen1-108/+0
2011-10-25Centralize PGP packet decoding and sanity checking into helper functionPanu Matilainen1-46/+56
2011-10-25Verify there are sufficient number of bytes to calculate packet lengthPanu Matilainen1-19/+34
2011-10-25Avoid redundant calculations on pubkey fingerprint retrievalPanu Matilainen1-21/+26
2011-10-25pgpPubkeyFingerprint() can fail, propagate errorsPanu Matilainen1-5/+9
2011-10-24Eliminate useless pgpIsPkt() helper functionPanu Matilainen1-61/+0
2011-10-24Eliminate broken pgpLen() from the APIPanu Matilainen1-0/+21
2011-10-24Valid PGP packets are always at least two bytes longPanu Matilainen1-2/+2
2011-09-30Sanity check OpenPGP packet lengths in pgpPrtSubType()Panu Matilainen1-3/+8
2011-09-01Source formatting cosmetics: function blocks start on the next linePanu Matilainen1-1/+2
2011-08-02pgpVerifySig() check of NULL hash is the wrong way aroundPanu Matilainen1-1/+1
2011-07-14Sanity check signatures even if we dont have a keyPanu Matilainen1-1/+10
2011-07-13Fix memleak on keys with more than one user idPanu Matilainen1-3/+3
2011-07-13Fix crash on PGP packets/armors with more than one key (RhBug:667582)Panu Matilainen1-4/+8
2011-03-03Eliminate unused variable + calculations in pgpPubkeyFingerprint()Panu Matilainen1-3/+0
2010-09-21Adjust pgpMpiSet() dest type to match actual usePanu Matilainen1-2/+2
2010-06-29Tell rpm about SHA-224 existence (RhBug:608599)Jiri Kastner1-0/+1
2010-06-01Permit DOS line-endings in PGP armors (RhBug:532992)Panu Matilainen1-4/+7
2010-05-19Add public pgpValString() function + enum for the various typesPanu Matilainen1-8/+26
2010-05-19Bury struct pgpValTbl_s definition inside rpmpgp.cPanu Matilainen1-0/+5
2009-11-25We can't handle OpenPGP subkeys or secret keys, so dont even tryPanu Matilainen1-5/+3
2009-10-09Add an interface to parse armored OpenPGP from memoryPanu Matilainen1-19/+28
2009-08-31Ugh, fix brokenness from previous commitPanu Matilainen1-1/+1
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in io codePanu Matilainen1-4/+3
2009-05-08Fix parsing of pubkey signature packets. Ick.Panu Matilainen1-3/+3
2009-04-23Hide NSS peculiarities from APIPanu Matilainen1-0/+27
2009-04-16Pad RSA signatures up to modulus size if necessary (rhbz#494049)Panu Matilainen1-1/+20
2009-04-09Fix PGP v4 fingerprint calculation (rhbz#493777)Panu Matilainen1-1/+7
2009-03-25Push signature identification to librpmio / pgp handlingPanu Matilainen1-0/+19
2009-03-25Push signature verification down to librpmioPanu Matilainen1-0/+76
2009-03-25Eliminate header/payload digests from pgpDig_s, they dont belongPanu Matilainen1-17/+0
2009-03-16Eliminate unnecessary pgpNewPublicKey() wrappersPanu Matilainen1-12/+2
2009-03-16Eliminate unnecessary field from pgpDig_sPanu Matilainen1-35/+24
2009-03-04Dont leak memory from hdrmd5ctxPanu Matilainen1-2/+0
2009-03-04Eliminate unnecessary fields from pgpDig_sPanu Matilainen1-3/+0
2009-01-08Only touch _crypto_initialized if we actually change itPanu Matilainen1-5/+6
2009-01-08Don't segfault in pgpPubkeyFingerprint() if rpmDigest* failsPanu Matilainen1-3/+5
2008-07-01Create ascii armor that rpm itself acceptsPanu Matilainen1-1/+1
2008-07-01Eliminate the nasty global _dig and _digp variables from rpmpgpPanu Matilainen1-24/+26
2008-07-01Unexport all the umphteen pgp related tablesPanu Matilainen1-10/+10
2008-07-01Make every pgp function not needed by other parts of rpm staticPanu Matilainen1-7/+158
2008-06-10Silly signedness mismatch in pgpMpiSet()Panu Matilainen1-1/+1
2008-04-15Plug a memleak in pgpArmorWrap()Panu Matilainen1-0/+1
2008-04-08Rewrite pgpArmorWrap(), the former one was insecure/hackishJindrich Novy1-30/+12
2008-04-07Uh, return allocated pointer, not the end of string...Panu Matilainen1-2/+3