Bug 2967 - Summary: rpm-2.5.5 --sign fails with certain PGP pass phrases
Summary: rpm-2.5.5 --sign fails with certain PGP pass phrases
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
5.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-22 11:23 EDT by kevinc
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-30 19:28:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description kevinc 1999-05-22 11:23:38 EDT
When trying 'rpm --resign -vv foo.i386.rpm' while my
PGP passphrase is "99%secret" produces the following.

   Enter pass phrase:

   Error:  Bad pass phrase.
   Signature error

   For a usage summary, type:  pgp -h
   For more detailed help, consult the PGP User's Guide.
   Pass phrase check failed

PGP accepts the very same pass phrase above as valid -- yes,
I'm certain.  When I change my PGP pass phrase to something
else, "baddog" for instance, then the same RPM command
renders:

   Enter pass phrase:

   Key for user ID: Kevin Cosgrove <kevinc@dOink.COM>
   1024-bit key, Key ID 14897F55, created 1996/01/31
   Also known as: Kevin Cosgrove <kevinc@mdhost.cse.tek.com>
   Also known as: Kevin Cosgrove <kevinc@dOink.COM>
   Also known as: Kevin Cosgrove
<kevinc@joseph.isdn1.tek.com>
   Also known as: Kevin Cosgrove <Kevin.E.Cosgrove@Tek.COM>
   Pass phrase is good.
   xpt-1.11-1.src.rpm:
   D: New Header signature
   D: Signature size: 236
   D: Signature pad : 4
   D: sigsize         : 240
   D: Header + Archive: 17538
   D: expected size   : 17538
   Generating signature: 1002

   Key for user ID: Kevin Cosgrove <kevinc@dOink.COM>
   1024-bit key, Key ID 14897F55, created 1996/01/31
   Also known as: Kevin Cosgrove <kevinc@mdhost.cse.tek.com>
   Also known as: Kevin Cosgrove <kevinc@dOink.COM>
   Also known as: Kevin Cosgrove
<kevinc@joseph.isdn1.tek.com>
   Also known as: Kevin Cosgrove <Kevin.E.Cosgrove@Tek.COM>
   D: PGP sig size: 152
   D: Got 152 bytes of PGP sig
   D: Signature size: 236
   D: Signature pad : 4


Thanks.....
Comment 1 Jeff Johnson 1999-05-22 16:07:59 EDT
OK, thanks for reporting. News at 11 ...
Comment 2 Jeff Johnson 2001-07-28 07:46:44 EDT
The '%' in the password is/was almost certainly the problem.

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