summaryrefslogtreecommitdiff
path: root/lib/package.c
AgeCommit message (Expand)AuthorFilesLines
2012-09-15Be more selective about legacy retrofits on package readPanu Matilainen1-4/+7
2012-04-03Validate negated offsets too in headerVerifyInfo()Panu Matilainen1-1/+1
2012-04-03Differentiate between non-existent and invalid region tagPanu Matilainen1-5/+12
2012-02-02Never load ts keyring if signature checking is disabledPanu Matilainen1-6/+3
2011-11-30Update internal callers to use headerImport() instead of headerLoad()Panu Matilainen1-1/+1
2011-11-09Eliminate uses of pgpDig in package reading & signature checkingPanu Matilainen1-25/+10
2011-11-09Switch to using rpmKeyringVerifySig() internallyPanu Matilainen1-2/+2
2011-11-07Use pgpDigParamsAlgo() throughout the codebasePanu Matilainen1-6/+8
2011-11-07Eliminate direct pgpDig access from package reading codePanu Matilainen1-3/+5
2011-11-07Take advantage of parsePGPSig() in pgpsigFormat() tooPanu Matilainen1-2/+2
2011-11-07Unify the parsePGP() variants from package.c and rpmchecksig.cPanu Matilainen1-9/+13
2011-11-07Hide pgpDig alloc etc details in the parsePGP helperPanu Matilainen1-21/+23
2011-11-07Eliminate couple of unnecessary pgpDig usagesPanu Matilainen1-4/+3
2011-10-20Verify the entire region trailer, not just its offset, is within data areaPanu Matilainen1-2/+2
2011-10-11Let headerLoad() failure message come throughPanu Matilainen1-1/+2
2011-10-06Eliminate headerCheckPayloadFormat() from the APIPanu Matilainen1-30/+0
2011-10-06Eliminate headerMergeLegacySigs() from the APIPanu Matilainen1-1/+6
2011-10-06Eliminate leftover headerRegenSigHeader() functionPanu Matilainen1-46/+0
2011-10-06Only bother allocating a pgpDig when neededPanu Matilainen1-9/+3
2011-10-05Split signature/digest verification out of headerVerify()Panu Matilainen1-114/+134
2011-10-05Unobfuscate header digest calculation in headerVerify()Panu Matilainen1-18/+5
2011-10-05Unobfuscate headerVerify() exit logicPanu Matilainen1-30/+20
2011-10-05Eliminate pointless exit label from headerVerify()Panu Matilainen1-3/+0
2011-10-04Push couple of variables to more local scopePanu Matilainen1-3/+3
2011-07-07Take advantage of Fdescr() in rpmReadPackageFile()Panu Matilainen1-0/+2
2011-07-07Further streamline & sanitize lead handlingPanu Matilainen1-13/+7
2011-07-06Make rpmLeadRead() return an allocated lead, fixup callersPanu Matilainen1-3/+2
2011-05-28Eliminate dead NULL-assignments at scope-end in librpm, part IIPanu Matilainen1-5/+5
2011-03-23Avoid timedRead() usageJindrich Novy1-2/+2
2010-10-22Couple of enum craziness fixes to package.cPanu Matilainen1-5/+5
2010-04-12Do not load keyring if signature checking is disabled.Michael Schroeder1-2/+6
2009-10-14Eliminate last remaining FD_t struct privacy violationPanu Matilainen1-2/+2
2009-09-02Simplify headerCheckPayloadFormat() a bitPanu Matilainen1-13/+5
2009-09-02Eliminate uses of headerNVR() and friends in librpm (and python) codePanu Matilainen1-1/+1
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in header codePanu Matilainen1-2/+2
2009-06-23Set HEADERFLAGS_ALLOCATED centrally from headerLoad()Panu Matilainen1-1/+0
2009-05-20Eliminate useless pgpDig nbytes counterPanu Matilainen1-14/+1
2009-05-20Refactor ts out of main read package functionPanu Matilainen1-26/+16
2009-05-20Refactor ts out of main header read functionPanu Matilainen1-2/+15
2009-05-20Refactor ts out of main header verification routinePanu Matilainen1-22/+17
2009-03-25Eliminate copy-paste digest calculation in rpmReadPackageFile()Panu Matilainen1-18/+5
2009-03-25Eliminate copy-paste digest calculation in headerCheck()Panu Matilainen1-37/+6
2009-03-25Eliminate header/payload digests from pgpDig_s, they dont belongPanu Matilainen1-19/+24
2009-03-12Rip all handling of broken md5 sums from 1997, rpm 2.x eraPanu Matilainen1-12/+0
2009-03-11Move headerIsEntry() check of sigtag into _chk() macroPanu Matilainen1-18/+8
2009-03-04Condense "shut up gcc" switch-cases to just default no action casePanu Matilainen1-9/+1
2009-03-04Add internal helper to verify signature parse resultsPanu Matilainen1-37/+21
2009-01-30Try to play nice with OpenPKG (rpm5.org) packages (rhbz#478907)Panu Matilainen1-7/+12
2009-01-05Eliminate header magic duplication all over the place, export itPanu Matilainen1-14/+9
2008-12-08Work around broken packages which dont have RPMTAG_SOURCERPMPanu Matilainen1-0/+10