Bug 205080
| Summary: | cannot import bill stearns key with rpm --import | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Holder <trs-rbeat> | ||||||
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | felix.schwarz | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-01-25 17:27:15 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
John Holder
2006-09-03 21:36:03 UTC
Created attachment 135468 [details]
this is the copy of the key I am working with
Created attachment 135470 [details]
Dump of the pubkey
A dump of the PGP packets in the pubkey.
The keyid is being set inappropriately, the command
rpm --import stearns
mis-identifies the keyid as 0x1b912a8c rather than
0xf322929d.
The cause of the bug is that there are v4 certification signatures on a v3 pubkey.
The simplest work around is to import the pubkey into gpg,
and edit out the certification signatures, leaving only the original
pubkey.
Off to fix the root problem ...
In fact, the last packet is what is unusual about Bill Stearns' pubkey:
V4 Signature(2) DSA(17) SHA1(2) Positive certification of a User ID and Public Key(19)
signature creation time(2) Sun May 5 22:56:21 2002(0x3cd5f0d5)
issuer key ID(16) 826ba3aa1b912a8c
signhash16 1190
r = [ 157]: 1a5d9c7b37d43ada64465ebad22cbfe83e0bf4d4
s = [ 159]: 6cba2ee7ffa55cffb754dab82816b72a4d36b383
Lose that packet (by editing with gpg) and the rest of the pubkey can probably be used as is
(untested).
*** Bug 205081 has been marked as a duplicate of this bug. *** Actually the problem is more fundamental, the last 8 bytes of the RSA modulus are the V3 pubkey keyid, and that cannot be corrected by editing the pubkey. Apologies for my confusion. Fixed in rpm cvs, will be in rpm-4.4.7. Thanks for reporting. UPSTREAM User pnasrat's account has been closed Reassigning to owner after bugzilla made a mess, sorry about the noise... Moving to devel, FC5 is EOL... *** Bug 220448 has been marked as a duplicate of this bug. *** Fixed in 4.4.2.3-0.1.rc1 in rawhide (finally). Thanks to Jeff for the fix. |