From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 23 03:00:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EBA627D for ; Fri, 23 May 2014 03:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECF5726F3 for ; Fri, 23 May 2014 03:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4N300ac003929 for ; Fri, 23 May 2014 03:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4N300HV003928; Fri, 23 May 2014 03:00:00 GMT (envelope-from gnats) Resent-Date: Fri, 23 May 2014 03:00:00 GMT Resent-Message-Id: <201405230300.s4N300HV003928@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, Victor Sudakov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BD2C244 for ; Fri, 23 May 2014 02:57:55 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCDF26DE for ; Fri, 23 May 2014 02:57:53 +0000 (UTC) Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 35521000 for FreeBSD-gnats-submit@freebsd.org; Fri, 23 May 2014 09:57:50 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.7/8.14.7) with ESMTP id s4N2vo9D022749 for ; Fri, 23 May 2014 09:57:50 +0700 (NOVT) (envelope-from sudakov@admin.sibptus.tomsk.ru) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.7/8.14.7/Submit) id s4N2voJQ022748; Fri, 23 May 2014 09:57:50 +0700 (NOVT) (envelope-from sudakov) Message-Id: <201405230257.s4N2voJQ022748@admin.sibptus.tomsk.ru> Date: Fri, 23 May 2014 09:57:50 +0700 (NOVT) From: Victor Sudakov Reply-To: Victor Sudakov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190129: pkg 1.3 does not recognize repository public key X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 03:00:01 -0000 >Number: 190129 >Category: ports >Synopsis: pkg 1.3 does not recognize repository public key >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 23 03:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Victor Sudakov >Release: FreeBSD 9.2-RELEASE-p6 i386 >Organization: SibPTUS >Environment: System: FreeBSD svn.sibptus.ru 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue May 13 08:14:56 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have a local repository signed with a public key. After switching from pkg 1.2 to pkg 1.3 on a client machine, pkg does not recongize the repository key any more. The error message is "RSA_verify:bad signature". Client machines with pkg 1.2 still work with this repo and this key. pkg: http://svn.sibptus.ru/packages/freebsd:9:x86:32/meta.txz: Not Found pkg: repository repo-sibptus has no meta file, use default settings digests.txz 100% 8556 8.6kB/s 00:00 pkg: -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyJRgYhiVFCz/xF3vPGmY 9tuvVRHSy4OO/bfNTeR5LgkovL2qBpKZJt9RQT2/DHiFZ++7g34DXRgo4KsfCtL5 fxTrRZnohcYnWVetp23g0Fk6HrXhCzN7hNH4X7SsB7A5K/ixBE1URNdi6fBF7aq2 /FHdVFPJWcdj6STLB7TZ+eitdrjQManSQjQYU9OV62Bhob5Iyz8u/Nca8g3CbyjB pCytz2+ci/WRBBQcblKL0bsqEiS/Y5YTxC6pxVt5rNgXsZr2/QjIXoBYzqO0Uv0e qS7+Eqne5/ujhsf6t7bAXFIYL4hOHCAVAg2khM6VSH8R+D3HeS9gN6EkqCopbSng sBsynxtM9R7IlvsCrVGCQjhJFCOjFqo4azdHwxzdlz5oWDIcD9msnf6t9CSXMraR K2iH3sXqzMatTPUPmnscGMTlD4OY0tuy7k6RUUEljcQz4A+2rjApDAGe4eduuMQf ZkNzu4C8qACniDYOrU+3Z9it+J0ZP6tSbp9OZe0mD+Li5POJf0r0/o44M0v9jJP2 X213UzmWb3lNtsK226pz+ii26NxglgW1WxS8tmIIr/5byrxyJL+A4mxL3YEgrMO7 DgQPMyZfLw+USXzRsjxP+0wQeL9JEpPk8lB8QMajNP1eZTYlB88KAqwTgWWZFGAP xSHALhNbgvOpU1REXPnZE/MCAwEAAQ== -----END PUBLIC KEY----- : error:04077068:rsa routines:RSA_verify:bad signature pkg: Invalid signature, removing repository. pkg: Unable to find catalogs # >How-To-Repeat: Upgrade pkg to 1.3 and try to use a repo signed with a PUBKEY. >Fix: None that I know of. Disabling PUBKEY check is a workaround. >Release-Note: >Audit-Trail: >Unformatted: