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

Recommend a plugin to resolve expired GPG keys #2166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FrostyX
Copy link
Member

@FrostyX FrostyX commented Dec 2, 2024

Fix #2156

@FrostyX
Copy link
Member Author

FrostyX commented Dec 2, 2024

I wanted to kick this off. We can figure out a better error message or a better place in the code here.

The output now looks like this:

The GPG keys listed for the "Copr repo for neovim-nightly owned by agriffis" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: libtree-sitter-0.24.1~git.130.ge445532a-1.fc41.x86_64
 GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/agriffis/neovim-nightly/pubkey.gpg
Public key for neovim-0.11.0~dev.1267.gc1378413c-1.fc41.x86_64.rpm is not trusted. Failing package is: neovim-0.11.0~dev.1267.gc1378413c-1.fc41.x86_64
 GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/agriffis/neovim-nightly/pubkey.gpg
Public key for utf8proc-2.9.0+git.11.g3de4596-59.fc41.x86_64.rpm is not trusted. Failing package is: utf8proc-2.9.0+git.11.g3de4596-59.fc41.x86_64
 GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/agriffis/neovim-nightly/pubkey.gpg

Use the `--enableplugin=expired-pgp-keys' paremeter to resolve the problem.

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

dnf/cli/cli.py Outdated
@@ -312,6 +312,8 @@ def gpgsigcheck(self, pkgs):
if error_messages:
for msg in error_messages:
logger.critical(msg)
logger.info("\nUse the `--enableplugin=expired-pgp-keys' "
"paremeter to resolve the problem.\n")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameter*

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thank you :-)

@FrostyX FrostyX force-pushed the recommend-gpg-keys-plugin branch from 6cf18a7 to 3516532 Compare December 2, 2024 19:42
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.

On GPG check FAILED recommend using --enableplugin=expired-pgp-keys
2 participants