Bug 672727

Summary: rpmsign with expired key claims "Pass phrase check failed" - very misleading
Product: [Fedora] Fedora Reporter: Paul Wouters <pwouters>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 14CC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-01 11:57:20 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:

Description Paul Wouters 2011-01-26 02:30:37 UTC
Description of problem:
When a gpg private key is expired, and you try to sign using rpmsign, you get an error "Pass phrase check failed" which is really misleading. Took me a while to troubleshoot this and that it was in fact my key that was expired.

Version-Release number of selected component (if applicable):
rpm-4.8.1-5.fc14.x86_64

How reproducible:
create a new gpg key that expires immediately.
rpmsign a random rpm

Comment 1 Jindrich Novy 2011-08-01 11:57:20 UTC
The error message is now modified to:

"Pass phrase check failed or gpg key expired"

in upstream.