From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A75139694 for ; Wed, 19 Jul 2017 19:25:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77FB81FC049; Wed, 19 Jul 2017 19:24:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B9CB1FC045 for ; Wed, 19 Jul 2017 19:24:59 +0000 (UTC) Received: from [192.168.1.77] (unknown [188.121.0.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: phajdan.jr) by smtp.gentoo.org (Postfix) with ESMTPSA id 31A093418B9 for ; Wed, 19 Jul 2017 19:24:58 +0000 (UTC) From: =?UTF-8?Q?Pawe=c5=82_Hajdan=2c_Jr.?= Subject: [gentoo-dev] can't gpg sign with repoman, but can with git To: gentoo-dev@lists.gentoo.org Message-ID: Date: Wed, 19 Jul 2017 21:24:49 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oCAvG9xsvXbjvdNCetNm2LMc2FAkAEWEi" X-Archives-Salt: d64a46fe-b876-44d7-a9af-ba72ce1313be X-Archives-Hash: 3d73699fc31d76427f3b9c6c7e241e39 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oCAvG9xsvXbjvdNCetNm2LMc2FAkAEWEi Content-Type: multipart/mixed; boundary="sjCf6TdbuNeCLTFElie3SES6KveBhcpB2"; protected-headers="v1" From: =?UTF-8?Q?Pawe=c5=82_Hajdan=2c_Jr.?= To: gentoo-dev@lists.gentoo.org Message-ID: Subject: can't gpg sign with repoman, but can with git --sjCf6TdbuNeCLTFElie3SES6KveBhcpB2 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hey folks, This is mysterious, and likely some issue with my setup, although it used to work. Trying tocommit with repoman commit (app-portage/repoman version 2.3.1) results in the following: * 4 files being committed... error: gpg failed to sign the data fatal: failed to write commit object !!! Exiting on git (shell) error code: 128 However, committing directly with git commit works (and asks for gpg passphrase). In .git/config I have the following: [user] signingkey =3D 0x4F1A2555EA71991D [commit] gpgsign =3D 1 [push] gpgsign =3D 1 In /etc/make.conf I have: PORTAGE_GPG_KEY=3D"0x4F1A2555EA71991D" In ~/.gnupg/gpg-agent.conf I have the following: pinentry-program /usr/bin/pinentry eselect pinentry show prints pinentry-gnome3 I'm using app-crypt/gnupg-2.1.20-r1, last updated May 24. Interestingly, I recently (July 17) re-emerged app-crypt/pinentry-0.9.7-r1, probably changing some USE flags. It may have been broken before that anyway, I don't remember now. Most of all, I'm interested how to get more debug info from repoman than it currently shows me. Any other insights would be welcome. Please let me know if you need any other info. Pawe=C5=82 --sjCf6TdbuNeCLTFElie3SES6KveBhcpB2-- --oCAvG9xsvXbjvdNCetNm2LMc2FAkAEWEi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQIcBAEBCgAGBQJZb7IFAAoJEOOGGXc/wLdaFREP/2qAHrtEn54wOdn69ShVrMm6 qsl7pyI2LPfWckZby5b/rNQvt5YqIhWIMkb1G2T0iBoGV+OBWMJcr5SlRRd09O7Q orXUSI+jCXdIZeyQqclRDIDDxE22WQJ2e4kTNXMu931zQw5atrk0oL1VF5wnkpoI zrPZQG76NtxW3keXCP3Wso/PdbWDZh/iJd0HgLC4+6KJYuQsixcg6NGbIr920Gh8 vIc4RdICnmVoPI4eL370g8rBlWwMJOVEsAmiHfYRCgfstpMQoeAGmIT2L3fgKJH9 o7TkqmHgWiJ8xxQR4cC8NcQQELBMBRUd6KFpvjLAsDHYJCVWu7YgMZCDSM0JD6T7 BPmuAFFMXrm+fC1dE0fwQEwF5Hker0XY22eHTYhv/WbLgtDFXsANty3EvNBe8lMN CrHzWhgKrcq+WWsGluvNN9GjPILMoRS4cL6VsN10606S76PuWv/BQDTEBclXeA1c /f6vqtthHHHv0Ve4YhMCqm6nm6PaxoeDddMFFoadDPb5bqcI2y+fSd/EufWNDwxN iAEAqnrK/C8hJ5B+ANucbw3F1jyg8VxZlTslfloiLgJmARA32qpzsgVYO/wum6Lx iqXSlRV5o/MVZLcIw4NTVAh4n5LHAX7EUjI+AdEZMfX6KJil5MKLxSZR0NfIl3Qa PKK3PPB+O3v/GRMqc95r =gndM -----END PGP SIGNATURE----- --oCAvG9xsvXbjvdNCetNm2LMc2FAkAEWEi--