summaryrefslogtreecommitdiff
path: root/lib/signature.c
AgeCommit message (Expand)AuthorFilesLines
2009-06-23Set HEADERFLAGS_ALLOCATED centrally from headerLoad()Panu Matilainen1-1/+2
2009-05-20Remove unnecessary includes + other minor include correctionsPanu Matilainen1-5/+2
2009-05-20Remove size "signature" verificationPanu Matilainen1-30/+0
2009-03-26Put the PGP foobar signature generation out of its miseryPanu Matilainen1-235/+12
2009-03-25Unify DSA/RSA/GPG/blaa signature verification, simplifyPanu Matilainen1-46/+14
2009-03-25Rename internal signature verification functionsPanu Matilainen1-6/+6
2009-03-25Reorder internal signature verification argumentsPanu Matilainen1-10/+10
2009-03-25Push signature identification to librpmio / pgp handlingPanu Matilainen1-52/+8
2009-03-25Remove redundant RSA/DSA parameter checksPanu Matilainen1-16/+0
2009-03-25Push signature verification down to librpmioPanu Matilainen1-55/+3
2009-03-25These cases are identical now...Panu Matilainen1-4/+0
2009-03-25Rename arguments, RSA keys are certainly not limited to md5 hashesPanu Matilainen1-6/+6
2009-03-25Use makeGPGSignature() for both DSA and RSAPanu Matilainen1-19/+1
2009-03-25Eliminate header/payload digests from pgpDig_s, they dont belongPanu Matilainen1-9/+7
2009-03-16Handle rpmDigestDup() failure in signature checkingPanu Matilainen1-6/+6
2009-03-16Eliminate unnecessary field from pgpDig_sPanu Matilainen1-2/+2
2009-03-12Rip all handling of broken md5 sums from 1997, rpm 2.x eraPanu Matilainen1-4/+0
2009-03-11Size signature failures are always RPMRC_FAILPanu Matilainen1-3/+1
2009-03-11Eliminate asserts() from rpmVerifySignature() pathsPanu Matilainen1-25/+20
2009-03-11Minor cleanup + simplification of DSA and RSA sig checksPanu Matilainen1-15/+10
2009-03-11For RSA sigs, RPMRC_NOKEY is only sane for keyring lookup failurePanu Matilainen1-17/+8
2009-03-11For DSA sigs, RPMRC_NOKEY is only sane for keyring lookup failurePanu Matilainen1-3/+1
2009-03-11We already assume failure, this is unnecessaryPanu Matilainen1-2/+0
2009-03-11SHA1 and MD5 failures are always RPMRC_FAILPanu Matilainen1-6/+2
2009-03-11Use tag to distinguish header-only vs header+payload signaturesPanu Matilainen1-2/+2
2009-03-04Condense "shut up gcc" switch-cases to just default no action casePanu Matilainen1-34/+4
2009-03-04Move the common part of DSA+RSA verification into helper functionPanu Matilainen1-76/+53
2009-03-04Handle V4 signature trailer for RSA too (ticket #34)Panu Matilainen1-6/+5
2009-03-04verifySHA1Signature() doesn't need pgpDig at allPanu Matilainen1-3/+3
2009-03-04verifyMD5Signature() doesn't need pgpDig at allPanu Matilainen1-3/+3
2009-03-04verifySizeSignature() only needs size, not all of pgpDigPanu Matilainen1-6/+6
2009-03-04Eliminate unnecessary fields from pgpDig_sPanu Matilainen1-32/+32
2009-01-05Eliminate header magic duplication all over the place, export itPanu Matilainen1-7/+2
2008-07-07Eliminate couple of timedRead() uses where we control how fd is openedPanu Matilainen1-4/+4
2008-07-01Pass keyring, not the full ts to lowlevel signature routinesPanu Matilainen1-20/+18
2008-07-01Eliminate digest calculation statistics from signature codePanu Matilainen1-15/+0
2008-06-30Detach pgp digest from transaction setPanu Matilainen1-4/+3
2008-06-30Pass pgpDig around from rpmVerifySignature()Panu Matilainen1-19/+14
2008-06-30Detach signature tag data from transaction setPanu Matilainen1-18/+11
2008-06-30Actually use the sigtd passed to verifier functionsPanu Matilainen1-25/+11
2008-06-30Start getting signature tag out of transaction setPanu Matilainen1-18/+22
2008-06-27Use correct formatters for debug-printing sizes in printSize()Panu Matilainen1-3/+5
2008-06-26Teach rpmAddSignature() and rpmReadSignature() about 64bit tagsPanu Matilainen1-13/+33
2008-06-18Convert signature code to use headerPut()Panu Matilainen1-7/+19
2008-06-09Use 64bit type internally for printing size when reading sig headerPanu Matilainen1-4/+4
2008-06-03Rip dosetenv()Panu Matilainen1-9/+8
2008-05-23Unbreak DSA signature trailer handlingPanu Matilainen1-4/+4
2008-05-23Convert rpmReadSignature() to new headerGet() interfacePanu Matilainen1-2/+4
2008-05-23Convert makeHDRSignature() to new headerGet() interfacePanu Matilainen1-7/+5
2008-05-21Include rpmtypes.h first instead of rpmtag.h everywherePanu Matilainen1-1/+1