ports/131579: security/gnupg reads security/gnupg1 data incorrectly

Anatoly Borodin anatoly.borodin at gmail.com
Wed Feb 11 04:40:02 UTC 2009


>Number:         131579
>Category:       ports
>Synopsis:       security/gnupg reads security/gnupg1 data incorrectly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 11 04:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        7.1-STABLE
>Organization:
>Environment:
FreeBSD hp.home 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 23 00:11:05 EET 2009     anatoly.borodin at gmail.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
gpg2 works inappropriately, kgpg depends on gnupg but cannot read the keys correctly. Key data is not displayed, error messages are generated.
>How-To-Repeat:
1) install gnupg1 first, then install gnupg. Add a few keys to the keyring. gpg -k runs without errors, gpg2 -k lists the keys and then says:
..
sub   2048g/35C30BE2 2005-06-26 [expires: 2015-06-27]

an mpi of size 0 is not allowed
an mpi of size 0 is not allowed
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring

2) install gnupg only, then install kdeutils3. Add a few keys to the keyring and run kgpg. It produces messages like
..
QDate::setYMD: Invalid date 1083-49-45
an mpi of size 0 is not allowed
an mpi of size 0 is not allowed
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
QDate::setYMD: Invalid date 7536-20-06
QDate::setYMD: Invalid date 9351-75-04
QDate::setYMD: Invalid date 1045-23-47
QDate::setYMD: Invalid date 1119-79-21

and then shows the keys in the main window, but the name, the e-mail, the trust and the date fields are empty. If gnupg1 is installed first kgpg works fine.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list