Bug 182163

Summary: 1.4.2.1 breaks my keyring: "mpi larger than indicated length"
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: gnupgAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.4.2.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-20 21:02:10 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:
Bug Depends On: 182029    
Bug Blocks: 150221    

Description Nalin Dahyabhai 2006-02-20 20:44:21 UTC
+++ This bug was initially created as a clone of Bug #182029 +++
[Note: this affects 1.4.2 in the development tree as well, hence the clone.]

Description of problem:

After update to 1.4.2.1 my keyrings becomes unusable; now I get

| $ LANG=C gpg --update-trustdb
| gpg: mpi larger than indicated length (2 bytes)
| gpg: keyring_get_keyblock: read error: invalid packet
| gpg: keyring_get_keyblock failed: invalid keyring
| gpg: failed to rebuild keyring cache: invalid keyring
| gpg: buffer shorter than subpacket
| gpg: buffer shorter than subpacket
| gpg: signature packet without keyid
| gpg: buffer shorter than subpacket
| gpg: mpi larger than indicated length (2 bytes)
| gpg: keyring_get_keyblock: read error: invalid packet
| gpg: keyring_get_keyblock failed: invalid keyring
| gpg: failed to rebuild keyring cache: invalid keyring
| gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
| gpg: mpi larger than indicated length (2 bytes)
| gpg: keyring_get_keyblock: read error: invalid packet
| gpg: keydb_get_keyblock failed: invalid keyring
| gpg: validate_key_list failed

Downgrading to 1.4.1 makes it work again. This issue (inclusive patch)
is described in
http://groups.google.com/group/linux.debian.bugs.dist/browse_frm/thread/4af65c6ae2efaa16/6a3c45eb7221960a


Version-Release number of selected component (if applicable):

gnupg-1.4.2.1-1