Date: Wed, 11 Feb 2009 04:39:50 GMT From: Anatoly Borodin <anatoly.borodin@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/131579: security/gnupg reads security/gnupg1 data incorrectly Message-ID: <200902110439.n1B4domL050136@www.freebsd.org> Resent-Message-ID: <200902110440.n1B4e1lv031965@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902110439.n1B4domL050136>