From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 11 04:40:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9704E106564A for ; Wed, 11 Feb 2009 04:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71EEF8FC19 for ; Wed, 11 Feb 2009 04:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1B4e1uY031966 for ; Wed, 11 Feb 2009 04:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1B4e1lv031965; Wed, 11 Feb 2009 04:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 11 Feb 2009 04:40:01 GMT Resent-Message-Id: <200902110440.n1B4e1lv031965@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoly Borodin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B332106564A for ; Wed, 11 Feb 2009 04:39:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 49BB78FC16 for ; Wed, 11 Feb 2009 04:39:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1B4dpe9050137 for ; Wed, 11 Feb 2009 04:39:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1B4domL050136; Wed, 11 Feb 2009 04:39:50 GMT (envelope-from nobody) Message-Id: <200902110439.n1B4domL050136@www.freebsd.org> Date: Wed, 11 Feb 2009 04:39:50 GMT From: Anatoly Borodin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131579: security/gnupg reads security/gnupg1 data incorrectly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 04:40:02 -0000 >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: