Skip to content

Add support for package signing#1369

Open
daviddavis wants to merge 8 commits intopulp:mainfrom
daviddavis:package-signing
Open

Add support for package signing#1369
daviddavis wants to merge 8 commits intopulp:mainfrom
daviddavis:package-signing

Conversation

@daviddavis
Copy link
Copy Markdown
Contributor

@daviddavis daviddavis commented Dec 3, 2025

closes #1300

Comment thread pulp_deb/app/viewsets/repository.py
@daviddavis daviddavis force-pushed the package-signing branch 6 times, most recently from 10576a3 to 9a98cf2 Compare January 13, 2026 17:42
@daviddavis daviddavis force-pushed the package-signing branch 2 times, most recently from fc6bbd7 to 8964c59 Compare January 29, 2026 15:30
@daviddavis daviddavis force-pushed the package-signing branch 2 times, most recently from 5298981 to c2ba8b6 Compare January 29, 2026 19:46
@daviddavis daviddavis force-pushed the package-signing branch 5 times, most recently from cfde638 to 236be34 Compare April 9, 2026 21:25
@daviddavis daviddavis force-pushed the package-signing branch 9 times, most recently from 4a62c62 to dfde87c Compare April 22, 2026 01:19
@quba42
Copy link
Copy Markdown
Collaborator

quba42 commented Apr 22, 2026

I am afraid there are now merge conflicts due to the new linting. It is mostly rearranging of import statements. I hope they are simple to resolve.

@daviddavis
Copy link
Copy Markdown
Contributor Author

No worries. I am at least partly to blame I think.

@daviddavis daviddavis force-pushed the package-signing branch 2 times, most recently from 90caeac to 4fded08 Compare April 23, 2026 14:32
@daviddavis
Copy link
Copy Markdown
Contributor Author

@quba42 I updated this PR and it should be ready for review again.

adrianabedon and others added 7 commits May 2, 2026 17:52
Assisted By: GPT-5.1-Codex

fixes pulp#1300
Assisted By: GPT-5.1-Codex

fixes pulp#1300
Add support for release overrides to signed_add_and_remove
Assisted By: Claude Sonnet 4.5
Switch package_signing_fingerprint fields from raw 40-char hex strings
to a prefixed format (e.g. 'v4:<hex>' or 'keyid:<hex>'). This allows
the signing system to distinguish between fingerprint types.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add an ArrayField to BasePackage (Package and InstallerPackage) that
records which key fingerprints were used to sign the package. The field
is read-only, null by default, and populated with a fingerprint when a
package is signed via upload or repository modify.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Previously, we were checking package signatures against the package
signing service's key fingerprint to see if they were already signed by
the repo's package signing service.

Instead the check should be using the repo's package signing
fingerprint. For this fix, we extract the signature and use `gpg
--list-packets` to find the package's fingerprint, which is compared
against the repo fingerprint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread pyproject.toml
# All things django and asyncio are deliberately left to pulpcore
# Example transitive requirements: asgiref, asyncio, aiohttp
"pulpcore>=3.85.0,<3.115",
"pulpcore>=3.107.0,<3.115",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a reminder for myself: Katello has only just packaged for pulpcore 3.105. Once we merge this, it will take some time until Katello can start using this change, and thus the next Y-release.

@quba42
Copy link
Copy Markdown
Collaborator

quba42 commented May 4, 2026

I will just leave this here as a comment: https://gist.github.com/daviddavis/5c6288813044fa0686e2aa936f41b653

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.

Add support for deb package signing

2 participants