Skip to content

Update signing key fields to include a version prefix#4382

Merged
dralley merged 1 commit intopulp:mainfrom
daviddavis:update-fingerprint-fields
Mar 24, 2026
Merged

Update signing key fields to include a version prefix#4382
dralley merged 1 commit intopulp:mainfrom
daviddavis:update-fingerprint-fields

Conversation

@daviddavis
Copy link
Copy Markdown
Contributor

No description provided.


original_package_sha256 = models.TextField(max_length=64)
package_signing_fingerprint = models.TextField(max_length=40)
package_signing_fingerprint = models.TextField()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ggainey adding a prefix here would be an API change, should we just add a new field to store type info?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I kind of had assumed that we wouldn't want to add type info to this field. I'm assuming if we added it the user would have to supply that info? Is there a case where Pulp would need the type info?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

By type info I just mean the prefix.

@daviddavis daviddavis force-pushed the update-fingerprint-fields branch from 707a02a to 4b024e5 Compare March 19, 2026 20:43
@daviddavis daviddavis changed the title Remove maxlength from fingerprint fields Update signing key fields to include a version prefix Mar 19, 2026
@dralley
Copy link
Copy Markdown
Contributor

dralley commented Mar 19, 2026

@daviddavis unless github is glitching again it looks like you need to rebase against main

@daviddavis daviddavis force-pushed the update-fingerprint-fields branch from 4b024e5 to f3069ab Compare March 19, 2026 21:11
@daviddavis daviddavis force-pushed the update-fingerprint-fields branch from f3069ab to 34ae385 Compare March 19, 2026 21:46
@github-actions github-actions bot added multi-commit Added when a PR consists of more than one commit no-changelog labels Mar 19, 2026
@daviddavis daviddavis force-pushed the update-fingerprint-fields branch 3 times, most recently from 296d1de to 701c4dc Compare March 19, 2026 23:15
@github-actions github-actions bot removed multi-commit Added when a PR consists of more than one commit no-changelog labels Mar 19, 2026
@dralley
Copy link
Copy Markdown
Contributor

dralley commented Mar 20, 2026

That race condition in the tests is getting really tedious (not your fault)

@dralley
Copy link
Copy Markdown
Contributor

dralley commented Mar 22, 2026

@daviddavis Otherwise, this looks good - I assume you're planning to move copy the fingerprint parsing stuff over to pulpcore eventually so that plugins can share?

@daviddavis daviddavis force-pushed the update-fingerprint-fields branch 2 times, most recently from fadf506 to e4395ca Compare March 23, 2026 15:12
@daviddavis
Copy link
Copy Markdown
Contributor Author

Here's a pulpcore PR: pulp/pulpcore#7510

@daviddavis daviddavis marked this pull request as draft March 24, 2026 13:32
@dralley
Copy link
Copy Markdown
Contributor

dralley commented Mar 24, 2026

Pulpcore with the new field should be released now, so you can just depend on pulpcore 3.106 and import it.

@daviddavis daviddavis force-pushed the update-fingerprint-fields branch 3 times, most recently from 9ecdf69 to a12f9c0 Compare March 24, 2026 20:12
@daviddavis daviddavis force-pushed the update-fingerprint-fields branch from a12f9c0 to 026037b Compare March 24, 2026 20:23
@daviddavis daviddavis marked this pull request as ready for review March 24, 2026 20:24
@dralley dralley enabled auto-merge (rebase) March 24, 2026 21:37
@dralley dralley merged commit 72a8639 into pulp:main Mar 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants