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

Switch signature verification from gpgme to librpm #231

Open
DemiMarie opened this issue Feb 27, 2021 · 6 comments
Open

Switch signature verification from gpgme to librpm #231

DemiMarie opened this issue Feb 27, 2021 · 6 comments
Labels

Comments

@DemiMarie
Copy link

This will allow using the RPM keyring and fix many bugs.

@cgwalters
Copy link
Contributor

See also rpm-software-management/libdnf#43 - we rely today on the semantic of importing keys from /etc/pki/rpm-gpg/ and not having them in the rpmdb ahead of time in all cases.

@DemiMarie
Copy link
Author

See also rpm-software-management/libdnf#43 - we rely today on the semantic of importing keys from /etc/pki/rpm-gpg/ and not having them in the rpmdb ahead of time in all cases.

My assumption was that higher-level tools will respond to this by importing the key and retrying.

@dmach dmach added the dnf5 label Mar 1, 2021
@dmach
Copy link

dmach commented Mar 1, 2021

Yes, we're considering moving from gnupg2/gpgme to librpm already.
It's not going to change in the current (dnf4) code base.

@DemiMarie
Copy link
Author

Yes, we're considering moving from gnupg2/gpgme to librpm already.
It's not going to change in the current (dnf4) code base.

What is the timeline for dnf5? I ask because this is blocking critical security improvements, specifically metadata signing enforcement.

@dmach
Copy link

dmach commented Mar 3, 2021

There is no exact release date, but I hope it's going to be available by the end of the calendar year.

@DemiMarie
Copy link
Author

I can provide a nice C++ wrapper API that validates signatures in various ways before passing them to librpm.

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

No branches or pull requests

3 participants