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

PGP: fix: Support importing binary public keys in librpm backend, add unit tests #286

Conversation

jrohel
Copy link
Contributor

@jrohel jrohel commented Oct 5, 2023

The lr_gpg_import_key* functions in the GpgMe backend support the import of binary public keys.
The patch adds support for importing binary public keys to a backend that uses the librpm API. Thus eliminating the regression.

The PR also adds unit tests for importing binary public keys.

The `lr_gpg_import_key*` functions in the GpgMe backend support the import
of binary public keys.
The patch adds support for importing binary public keys to a backend that
uses the librpm API. Thus eliminating the regression.
Signature "repod.xml_bad.asc" was in binary format. Therefore, the file
extension was changed to ".sig".
Files in ASCII Armored format have were renamed to have an ".asc"
extension.
@jan-kolarik
Copy link
Member

Thanks!

@jan-kolarik jan-kolarik merged commit f097eef into rpm-software-management:master Oct 5, 2023
5 of 6 checks passed
@DaanDeMeyer
Copy link

@jan-kolarik Can we get this backported to Fedora and into F39 before the release?

@jan-kolarik
Copy link
Member

@jan-kolarik Can we get this backported to Fedora and into F39 before the release?

Oh, sure. I was checking the upstream components more than a week ago last time, and I see that particularly for librepo, it's the right time to make a new release. Thanks for the bump!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Binary PGP keys cannot be imported if PGP backend is RPM library
3 participants