Fetch signing key fingerprints directly from package signatures#4370
Fetch signing key fingerprints directly from package signatures#4370dralley wants to merge 10 commits into
Conversation
803c984 to
51f5696
Compare
e3e1f53 to
d3590c1
Compare
85d2e89 to
82237dd
Compare
67b3ed3 to
0baa74d
Compare
31142c9 to
8f3dbbd
Compare
26e5746 to
15f79bf
Compare
| return Path(copy_rpm) | ||
| path = Path(basedir) / "sample-rpm-0-0.x86_64.rpm" | ||
| pkg = rpm_rs.PackageBuilder("sample-rpm", "0", "Public Domain", "x86_64").build() | ||
| pkg.write_file(str(path)) |
There was a problem hiding this comment.
Should we do this? Or should we just keep the sample package until we're fully committed?
There was a problem hiding this comment.
I think we should do this.
The worst case we add it back, IHO it's not a big deal either.
323c5dc to
826beab
Compare
|
Problem: Thus, these tests will fail unless we either: A) disable them I'm working on A no matter what we choose, but I'm not sure how soon we can switch over. I decided to use rpm-rs for verifying the signing service, because that step was choking on Question: should we delete |
|
Adding a commit with D just for demonstrative purposes, we don't have to merge it |
74d56e5 to
4e3ce01
Compare
closes pulp#4458 Assisted-By: claude-opus-4.6
Assisted-By: claude-opus-4.6
Take account of the fact that signing key != primary key fingerprint Assisted-By: claude-opus-4.6
Assisted-By: claude-opus-4.6
Older versions of RPM are terrible at dealing with subkeys. `rpm --import` does not work on RHEL 9 if the key includes subkeys. Hence, validate() fails, even though signing succeeds.
It's no longer used in pulp_rpm proper
Assisted-By: claude-opus-4.6
📜 Checklist
See: Pull Request Walkthrough