summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
AgeCommit message (Expand)AuthorFilesLines
2011-11-09Use pgpDigGetParams() in pgpVerifySig() compat wrapper tooPanu Matilainen1-1/+2
2011-11-08Tolerate NULL key in pgpVerifySignature()Panu Matilainen1-3/+3
2011-11-07Eliminate unused params member from pgpDigParamsPanu Matilainen1-3/+0
2011-11-07Add ad API for retrieving algorithm values from digest parameter containersPanu Matilainen1-0/+16
2011-11-07Add an API for comparing two digest parameter containersPanu Matilainen1-0/+23
2011-11-07And finally, make pgpDig struct fully opaquePanu Matilainen1-0/+8
2011-11-07Add a dumb API to retrieve pubkey / signature params from pgpDigPanu Matilainen1-0/+16
2011-11-07Process all keys and signatures we findPanu Matilainen1-37/+32
2011-11-07Make pgpPrtPubkeyParams() return an int like all the others do tooPanu Matilainen1-7/+7
2011-11-07Add another pgpVerify variant which takes key and sig as separate argsPanu Matilainen1-13/+20
2011-11-07Clean up pgpPrtPkts() and friends a bitPanu Matilainen1-29/+20
2011-11-04Bury all NSS specifics into a separate sourcePanu Matilainen1-401/+2
2011-11-04Implement PGP key & sig algorithm specific part OO-stylePanu Matilainen1-133/+136
2011-11-04Lift RSA/DSA specific signature verification to helper functionsPanu Matilainen1-57/+80
2011-11-04Lift RSA/DSA key MPI calculations to helper functionsPanu Matilainen1-44/+66
2011-11-04Lift RSA/DSA signature MPI calculations to helper functionsPanu Matilainen1-47/+58
2011-11-04Remove now redundant NULL digparam checks within the PGP parserPanu Matilainen1-64/+52
2011-11-04Arrange temporary storage for parsing if called with NULL digPanu Matilainen1-4/+12
2011-11-04Added sanity checks on pgpPrtPkts() entryPanu Matilainen1-2/+5
2011-11-04Eliminate bunch of unused/useless debug cruft from pgp parserPanu Matilainen1-16/+6
2011-11-04Split digest parameter freeing into a separate helper functionPanu Matilainen1-23/+21
2011-11-04Store the rsa/dsa parameters in pgpDigParamers struct directlyPanu Matilainen1-55/+53
2011-11-01Verify PGP signature packet sizes and number of MPIs match expectationsPanu Matilainen1-9/+17
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