summaryrefslogtreecommitdiff
path: root/lib/signature.c
AgeCommit message (Expand)AuthorFilesLines
2012-04-03Validate negated offsets too in headerVerifyInfo()Panu Matilainen1-1/+1
2012-04-03Differentiate between non-existent and invalid region tagPanu Matilainen1-6/+12
2011-11-30Update internal callers to use headerImport() instead of headerLoad()Panu Matilainen1-3/+4
2011-11-24Log an error on attempt to sign V3 packages (RhBug:517818 & others)Panu Matilainen1-0/+3
2011-11-09Switch to using rpmKeyringVerifySig() internallyPanu Matilainen1-23/+15
2011-11-09Don't make assumptions about how pgpDig allocates thingsPanu Matilainen1-2/+2
2011-11-07Use pgpDigParamsAlgo() throughout the codebasePanu Matilainen1-1/+0
2011-11-07Eliminate direct pgpDig accesses from lowlevel signature codePanu Matilainen1-7/+11
2011-11-07Add another pgpVerify variant which takes key and sig as separate argsPanu Matilainen1-1/+1
2011-11-04Add a couple of missing includes, masked by NSS headersPanu Matilainen1-0/+1
2011-10-20Verify the entire region trailer, not just its offset, is within data areaPanu Matilainen1-1/+2
2011-10-06Eliminate redundant NULL-checks in lower level sigchecking functionsPanu Matilainen1-9/+3
2011-10-06Sanitize rpmVerifySignature() a bitPanu Matilainen1-7/+13
2011-07-14Sanity check signatures even if we dont have a keyPanu Matilainen1-5/+3
2011-05-28Eliminate dead NULL-assignments at scope-end in librpm, part IIPanu Matilainen1-2/+2
2011-04-28Remove redundant strlen()'s on sha1 digest verificationPanu Matilainen1-1/+1
2011-03-23Avoid timedRead() usageJindrich Novy1-3/+3
2010-10-22Replace remaing rpmSigTag uses with rpmTagValPanu Matilainen1-4/+4
2010-09-29And now sighdrPut() can be buried back into signature.cPanu Matilainen1-0/+13
2010-09-29Clean up makeHDRDigest() a bitPanu Matilainen1-4/+0
2010-09-29Lift the signature generation in all its g(l)ory to rpmgensig.cPanu Matilainen1-256/+0
2010-09-29Move sighdrPut() to inline function in signature.hPanu Matilainen1-12/+0
2010-09-29Split signature and digest generation to separate functionsPanu Matilainen1-17/+32
2010-09-29Split internal header signature and digest generation to separate functionsPanu Matilainen1-26/+46
2010-09-28Whoops, wrong enum type used for pubkey algorithmPanu Matilainen1-1/+1
2010-09-28Decide header sigtag based on what was actually writtenPanu Matilainen1-2/+2
2010-09-03Put the rpmLookupSignature() and rpmGetPassPhrase() out of their miseryPanu Matilainen1-143/+0
2010-06-29Add some sanity checks for generated signatures (related to RhBug:608599)Panu Matilainen1-1/+24
2010-01-05Move <errno.h> include out of system.h to the places that need itPanu Matilainen1-0/+1
2010-01-05Unconditionally include <sys/wait.h> where neededPanu Matilainen1-0/+1
2009-12-23Move getpass() portability tweaks out of system.hPanu Matilainen1-0/+5
2009-11-25Fix signature password checking result on abnormal conditions (RhBug:496754)Panu Matilainen1-1/+2
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in header codePanu Matilainen1-1/+1
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