Skip to content

Fix gnupg compatibility wrapper for the gpg_verify() func - #8083

Merged
dralley merged 1 commit into
pulp:mainfrom
dralley:openpgp-api-fix
Sep 11, 2026
Merged

Fix gnupg compatibility wrapper for the gpg_verify() func#8083
dralley merged 1 commit into
pulp:mainfrom
dralley:openpgp-api-fix

Conversation

@dralley

@dralley dralley commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Restore the "verified" attribute so that it can be checked by consumers. Derive OpenPGP key IDs correctly according to the key version, since it differs between OpenPGP v4 and v6.

Assisted-By: Codex Luna 5.6

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@dralley
dralley force-pushed the openpgp-api-fix branch 3 times, most recently from 9fe0ad9 to 79c25ae Compare September 10, 2026 16:31
Restore the "verified" attribute so that it can be checked by consumers.
Derive OpenPGP key IDs correctly according to the key version, since it
differs between OpenPGP v4 and v6.

Assisted-By: Codex Luna 5.6
Comment thread pulpcore/app/util.py
Comment on lines +424 to +428
"""Return the OpenPGP key ID for a hexadecimal fingerprint.

OpenPGP v4 key IDs use the low-order 64 bits, while v6 key IDs use the
high-order 64 bits. The fingerprint length distinguishes these versions.
"""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤦

@dralley
dralley merged commit 73c9402 into pulp:main Sep 11, 2026
13 of 14 checks passed
@patchback

patchback Bot commented Sep 11, 2026

Copy link
Copy Markdown

Backport to 3.117: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.117/73c9402eeef8a7dd8721f64dec240c0a429af3c3/pr-8083

Backported as #8089

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants