@proyvind pushed 227 commits. 6b6b507 Drop dead-on-arrival untrustedkeys formatting from signature checking 886c417 Add a test for non-verbose signature check output 7de6172 Drop missing key formatting from non-verbose signature checking output 7488d88 Drop the ambiguous and bogus RSA/DSA algorithm info from sigcheck output e0457ca Eliminate redundant rasprintf() 5121665 Consolidate signature disabler handling to a helper function 231302b Honor RPMVSF_NEEDPAYLOAD in signature checking 16c8ce0 Filter out non-digests and signatures centrally in sinfoDisabled() too d1359d0 Clean up signature checking readFile() 0b794d5 Separate the act of signature checking from the output, step 1 0194384 Implement a callback hook into signature checking, use for rpm -K output f7d4b2b Assimilate sigtagname() into formatDefault(), nothing else needs it 29c48e1 Add mode for updating with minimal writing (RhBug:783480) 1a88377 Remove unnecessary memset bae912e Support passing private data pointer through the signature callback 4c98731 Fixup SHA1 order in rpmSigTag enum b7e1101 Issue signature check callbacks for invalid signature data too aa5cf0c Use signature element type for filtering instead of hashalgo e795899 debugedit: Only output comp_dir under build dir (once). b802edc Make sinfoDisabled() internally available 2c21593 Reorder struct rpmsinfo_s members to group by static and parsed data d809fd5 Move signature information into a table b91b636 Add a headerGet()-style helper for fetching signature data c233ca8 Only look for known signatures and digests in signature checking 25e506c Move NOTFOUND -> OK translation to rpm -K specific callback 5f23f6b Implement a crude API for dealing with sets of signatures outside headers 4429801 Switch rpm -K to use the new signature set API acfde0d Add an internal, limited-functionality headerGet() for raw headerblob 9821de1 Look mom, no hands! Err, headers ... a67e667 Assimilate rpmsinfoGet() into rpmsisetAppend() d63fb16 Now that we can, initialize all digests before starting verifications 5cc9d88 fix memleak in systemd_inhibit plugin 7e5932e Support allocating FD digest bundle on get 1ba4ce0 Switch sigchecking system to use digest bundles instead of fd's b791df8 Internal signature API renames f2c6c10 Lift all the new signature stuff into new rpmvs.[ch] source + header 42ece09 Preparation for minimal writing for %config files (part 1) 5fa7888 Preparation for minimal writing for %config files (part 2) f669e4e Preparation for minimal writing for %config files (part 3) 4a50cd9 Minimal writing for %config files b60ce10 Only add rpmsq-handled signals into the rpmsq-caught set 9e3256d Fix testsuite with newer NSS versions which require /dev/urandom 8f7f85f Don't warn about getting killed by SIGPIPE 6278fcf Use bash-style 128 + signum exit code when exiting on signals 5e51d2b Add some SIGPIPE test cases 585be2a Stop NSPR from messing with our signals d5701c4 Implement SIG_DFL/SIG_IGN/SIG_ERR counterparts in rpmsq 9085009 Fix regression on SIGPIPE from scriptlet killing (RhBug:1264198) 80f31c2 Change sinfoLookup() to return an index into rpmvfyitems d6f75a4 Fix hex strings not getting validated af6e08d Remove redundant assignment fe16b02 Split tag-specific information out of rpmsinfo struct 7ae8f89 Fix unintended double-colon on failed digest messages 2286ed6 Add bunch of tests for corrupted package verification b4b8f33 Fix the armv5tl arch compatibility list 4842adf Untangle unique build options in find-debuginfo.sh 538cecf Support debugsource subpackages 980749f Support debuginfo subpackages a517554 Also add directories to split debuginfo packages bc58b5c Add a vanilla testcase for install + erase ordering 51f5093 Add a bunch of installation mode tests (manifests, notfound, corrupted etc) 91d04a4 Honor RPMVSF_NEEDPAYLOAD in signature checking d8de8d3 Optionally import and return merged header from rpmpkgVerifySignatures() bad2ef4 Return "not an rpm" NOTFOUND silently on signature checking too 101cba0 Use dribbles as heuristics for header/package output differentation 3ccd9cc Use the signature checking code to read all package files c293a0f Rename rpmpkgVerifySignatures() (sort of back) to rpmpkgRead() 763d3e4 Use rpmvs for headerCheck() too 1897770 Bury remaining internal signature API inside rpmvs.c 75f124c Account for arrays when generating verify item id 3441324 Oops, rpmvs.c is missing from POTFILES 117b337 Remember flags passed to rpmExpandMacros() in the expansion state buffer 9ae7d1d Expand parameterized macro arguments one by one after splitting 767d61c Preserve %%-escapes when expanding parametric macro arguments (#217) d7e74c4 Do not call rpmfcPrint() with an uninitialized buffer in rpmdeps de61c64 Use conditional to access %{_docdir} in macros.in a6a71bf fix comparison between signed and unsigned integer expressions 2329af6 Generalize primary user/group for platforms (#210) b71d63e Consolidate %defattr/%attr(-,root,root) generation to helper function 3c98827 Drop unnecessary %defattr() from debug package macro templates a56356c Generalize UID/GID 0 for platforms on build-side too (#210) 4bdbe12 Files of different type can not have the same contents 8747f44 Add minimal writing for links (part of RhBug:783480) b978d51 Cosmetics: shorten min_writes tests + upgrade their names 2ea3fa8 Handle dynamic reallocation in rpmvsAppend() 7f1d505 Eliminate redundant handleResult() intermediate sigcheck callback a5da512 Simplify rpm -K non-verbose output 4a6196e Eliminate "tag" from rpmsinfo struct 85953c0 Revert "Expand parameterized macro arguments one by one after splitting" 1e28e36 Start separating verify item description from its result e431614 Unify digest verification message style a bit 6516e1a Format verbose message strings centrally in rpmVerifySignature() e20527a Drop digest value from OK result output d211550 Package read logging only differs by log level 84e89df Separate sig/dig verify results from verbose error messages 3a0ecec Drop redundant BAD's from error messages f4adb7e Compare tag and userid too in pgpDigParamsCmp() 7560d36 Eliminate dumb assert()'s on NULL pointers on rpmtdFreeData() etc d137a7b Free td data on rpmtdFree(), DOH 95f4e6c Eliminate now unnecessary rpmtdFreeData() calls 34860a7 Rename sigtarget variables to v3 and v4 e20764f Refactor signing code to return used sigtag instead of 0/1 codes cf897c5 Refactor an unnecessary intermediate helper out of signing code b6f5b20 Further refactor signature generation 1356ee6 Don't both copying the header for checking pre-existing signature 23dc36f Pass sign arguments to signature deletion too e8ffbf8 Split out hex validity checking to helper function, enhance 9d94204 rpmbuild: Reset attrFlags in generateBuildIDs. e78484f Only non-binary digests have hex strings to validate dab75e7 Pass proper file index when recording generated dependencies 57c9f70 Add a testcase for (file) dependency generation bdd4365 Add comments for SHA-2 file digest variants e96fde8 Make database backend configurable by macro 8cda485 Do not store digests of ghost files 2cf7096 Do not record directory sizes in packages 8bcfd98 Beat some sense into rpmsign cli parsing 26cae39 Fix %% -> $$ thinko/typo in file signing error message 5a76125 Bury get_fskpass() inside rpmsign utility 9e16032 Move rpmsignfiles to librpmsign where it belongs a63bd11 Only librpmsign needs libimaevm, dont link to EVERYTHING... 41bb294 rpmSignFiles() is an internal-only API a77d2d3 Dont advertise file signing features if support not built in 4211ac0 Conditional compilation sanity for file signing e9227ff Check for libimaevm availability/usability in configure 8fae14f Remove bunch of redundant environ declarations 5a6acd2 Dont push NULL-bodied macros (in case of get_fskpass() failure) 46eadbf Move key/password helper variables to local scope 542f41a Use rpm memory allocator so we dont need to check for return 46c7bf4 Fix a number of problems in get_fskpass() 54cfef4 Correction of swapping two variables (#213) e2435b0 Enable double quoting in macro arguments (#222) f23821c Enable single quoting in macro arguments (#222) b5c22bf Avoid double macro definition on first --define b63a95b Preprocess --define and --predefine arguments consistently 0b34c48 Error out on invalid --define/--predefine 3845577 Error out on --eval expansion errors too fe7cf85 Revert macro argument quotion patches 2901e26 Spelling fixes 6eee843 Add RPMTAG_SOURCEPACKAGE to the source package header 45c2f3f Use a simple heuristic to test for source package headers 173e564 Update find-debuginfo.sh options and macros documentation. 0f162dc find-debuginfo.sh: Don't create dwz multi file if there is only one .debug. cad0389 Add support for new package declarations in Perl 5.12+ b9428a1 Report cpio magic/header read failures as bad magic/header 2ea5619 debugedit: skip_dir_prefix should check for dir separator. ff239ff find-debuginfo.sh: Filter out all <built-in> like fake file names. a08e154 find-debuginfo.sh: Use 'return', not 'continue', to break out do_file(). 139d62d Extract package file list processing in separate functions. 88b7f24 Use a file list to add build-id files to pkgList. 261ba91 Change mkattr to always create a %defattr with explicitly set modes. 2357add Fix fakechroot wrong URL. 45d9f54 Return error exit status when make check is failed. cbb0629 rpmfc: fix ternary operator 4c4b649 Add missing NULL terminator in rpmExpand 10c1d10 Do not install source rpms with --freshen b388bfe find-debuginfo.sh: Add --keep-section and --remove-section for eu-strip. a76ce93 Correctly detect Transmeta Crusoe as i686 83552e3 in linux, rename parisc to hppa 9203f96 macros: add %_rpmmacrodir 72cbdc8 Print exit code with rpm -vv 553a06a Change output text to 'Exit status' 718e89a add Fedora's Dockerfile for CI b953262 tests: don't copy fstab to chroot c9a373f ci: enable silent rules 860c04e find-debuginfo.sh: Remove non-allocated NOBITS sections from minisymtab. fc930cc replaceSigDigests is only used with IMAEVM. 0da5cab config: Detect major/minor warnings and include the correct system header. fcdc395 Add man page for systemd-inhibit plugin 5d446f0 update mkinstalldirs to latest version (2009) 436b6ce find-debuginfo.sh: make sure that debugsourcefiles.list is generated under the builddir 5d48ff2 Add two testcases for generating debugsource packages. 78545a5 Rip out ndb's check if the database file was replaced 9e30504 remove duplicated call to strlen() b5c2def store path of excluded files 1e7d3c5 exclude respective debug files for files which are excluded cc8a682 store mapping for renamed files 98efb7f reference proper debug files whenever RemovePathPostfixes is used fffd652 Replace whole rpmdb directory on rebuilddb instead of moving around files 4b0356c Set permissions and owner for new database to the old values 25f7b4a Give a warning if db format does not match the configuration 715f7bc fix couple of memory leaks in rpmbuild 0ac96d5 digest_openssl: return failure if setting key failed 83904fa ndb: disable unneeded rpmidx code 78b7a00 Colorized rpmlog() output 517f767 Build scriptlets handling: pass exit status of last execution regardless a7dbbf4 Add rpmbuild debuginfo subpackages tests. e6a0522 Test split debuginfo packages with excluded files. f4d82b3 Test split debuginfo packages with RemovePathPostfixes. 9531011 Make coloring of output configurable 7fe183d Add support for %{shrink:} (ported from rpm5.org) 9a9eefc Add test for %{shrink:} 47f0a89 Support quoting of macro arguments (#222) 6ca8968 Distinguish %define and %global in the illegal macro name error message c4d41c3 Shift macro scoping level values as they are defined 03e5c5e rpmio.c: Overwrite old mode completely when encountering new one in mode string 6fe53aa Support ? in mode string when opening files to enable debugging 3684424 Add support for zstd compressed payload 110abd2 ci: Add libzstd-devel to CI Dockerfile 33ca6d0 rpmio: ifdef out lzma and bzip variable 3440399 Bump sonames in preparation of 4.14.x branch 12f32cf Update translations from Transifxed for a change (yeah its been a while...) cb9bbf9 Remove duplicated code in dbiIndexSetAppendSet a0e92e8 Add dbiIndexSetAppendOne helper 8d54160 Add dbiIndexSetPruneSet helper 8a06ede Add dbiIndexSetFilter and dbiIndexSetFilterSet methods eb6b13f Change hdrNumCmp to use the tagNum as secondary sort key 87b8b19 Add rpmalLookupTE helper dac1c70 Implement with/without rich dependencies 456d0e5 add tests for with/without rich operators 2321bad Bump version to appear newer than latest stable branch (4.14.x) 22431b7 Make sure that debugsourcefiles.list is generated in the build dir. 874dd7e Warn and create empty debugsource package if there are no sources. 1b49d43 Revert "Warn and create empty debugsource package if there are no sources." 7c80486 Revert "Make sure that debugsourcefiles.list is generated in the build dir." 03a905c Remember to add macro-scope.spec to tarballs 7e65bec Revert "Only build bundled fts if system has a bad version that doesn't handle LFS" 50c380e Disable two of the sigpipe tests, they're too unstable 1bf6da6 Make the rpm 4.4.x compat layer removal explicit via an error message a3c1f73 Revert "Support quoting of macro arguments (#222)" 9a6a95b Add missing "il" to header sanity check error message ed9de19 Add LMDB backend to RPM c84292f ci: Add lmdb-devel to CI Dockerfile 18a2fc0 Make _dbibyteswapped static within lmdb.c 0cbcf9b _DBSWAP() macro is identical between lmdb.c and db3.c, consolidate to dbi.h a3b153e Unified messages printed by %{echo:...}, %{warn:...}, and %{error:...} 94e8cd6 Make macro %{error:...} cause an actual failure 0aa64a2 Merge branch 'rpminterp' of github.com:proyvind/rpm into rpminterp
-- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/190/files/691a192ce9d760c811d196ddb02cad08e66dfe58..0aa64a29c19513b2a177e2580c8cbf6fcf5eafa6
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint