Skip to content

Fix signature verification in RpmDb.cc - #308

Open
DemiMarie wants to merge 4 commits into
openSUSE:masterfrom
DemiMarie:patch-1
Open

Fix signature verification in RpmDb.cc#308
DemiMarie wants to merge 4 commits into
openSUSE:masterfrom
DemiMarie:patch-1

Conversation

@DemiMarie

@DemiMarie DemiMarie commented Apr 11, 2021

Copy link
Copy Markdown

This switches RpmDb.cc to use RPM’s transaction-level signature verification feature, which is the only supported librpm API to verify that a package has been properly signed. A bunch of ugly code goes away, too.

Fixes #307.

This switches RpmDb.cc to use RPM’s transaction-level signature verification feature, which is the only supported librpm API to verify that a package has been properly signed.   A bunch of ugly code goes away, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use RPMSIG_SIGNATURE_TYPE and rpmcliVerifySignatures() for all RPM-based signature verification

1 participant