Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix signature verification in RpmDb.cc #308

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DemiMarie
Copy link

@DemiMarie DemiMarie commented Apr 11, 2021

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