-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing very incorrect parsing of "signature headers" block
The first set of headers is actually "signature headers" which _have somewhat different and conflicting set of key values_ than the main headers block. The current way of parsing results in the second set overwriting unrelated keys from the first one. You can see the "authoritative" procedure for parsing them by following the code at: https://github.com/rpm-software-management/rpm/blob/d1075106bb315913574e1acac921058d23dd5130/tools/rpmdump.c#L205 Additionally I added some newer main tags that were previously not handled. You can see the current set of tags conveniently at http://ftp.rpm.org/api/4.19.0/rpmtag_8h.html
- Loading branch information
Showing
1 changed file
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters