Bug 24278 - rpm --addsign causes rpmReadSignature failure
rpm --addsign causes rpmReadSignature failure
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Florence Beta-3
Depends On:
  Show dependency treegraph
Reported: 2001-01-18 02:42 EST by Jeremy Katz
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-03 08:09:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeremy Katz 2001-01-18 02:42:40 EST
adding additional signatures seems to be broken with rpm 4.0.2.

1012 katzj@rivendell:~> rpm -Kv xinetd-
MD5 sum OK: c8ec559183ae44966e21c8820aacaa6a
gpg: Warning: using insecure memory!
gpg: Signature made Thu 19 Oct 2000 02:30:07 PM EDT using DSA key ID DB42A60E
gpg: Good signature from "Red Hat, Inc <security@redhat.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
gpg: Fingerprint: CA20 8686 2BD6 9DFC 65F6  ECC4 2191 80CD DB42 A60E
1013 katzj@rivendell:~> rpm --addsign xinetd-
Enter pass phrase:
Pass phrase is good.
gpg: Warning: using insecure memory!
1014 katzj@rivendell:~> rpm -Kvv xinetd-
D: Expected size:       106724 = lead(96)+sigs(229)+pad(3)+data(106396)
D:   Actual size:       106756
error: xinetd- rpmReadSignature failed
Comment 1 Glen Foster 2001-01-18 16:26:43 EST
This defect is considered MUST-FIX for Florence Beta-3
Comment 2 Jeremy Katz 2001-01-22 02:09:30 EST
Note that this only happens when you have an RPM which was created and signed by
an older version of RPM that you then add a signature too.  In this case, the
HEADER_IMAGE tag exists, but we don't want to subtract the offset from the sigsize
Comment 3 Jeff Johnson 2001-01-22 10:13:03 EST
This is a legacy issue with old packages, sign with rpm-4.0 or earlier as

Deferred until after 7.1.
Comment 4 Jeff Johnson 2001-04-03 08:10:12 EDT
This should be fixed in rpm-4.0.2 final.

Note You need to log in before you can comment on or make changes to this bug.