From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GIjVJWPP7F6eZAAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 14:44:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WLNuIWPP7F6zHwAAbx9fmQ (envelope-from ) for ; Fri, 19 Jun 2020 14:44:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 05FAE940701 for ; Fri, 19 Jun 2020 14:44:51 +0000 (UTC) Received: from localhost ([::1]:51162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmIG8-0003R6-9h for larch@yhetil.org; Fri, 19 Jun 2020 10:44:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmIFO-0003Qi-OK for bug-guix@gnu.org; Fri, 19 Jun 2020 10:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmIFO-0002Br-G1 for bug-guix@gnu.org; Fri, 19 Jun 2020 10:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmIFO-00027r-DW for bug-guix@gnu.org; Fri, 19 Jun 2020 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41941: Signing git commits with PGP fails Resent-From: Jonathan Brielmaier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jun 2020 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41941 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 41941-submit@debbugs.gnu.org id=B41941.15925778048117 (code B ref 41941); Fri, 19 Jun 2020 14:44:02 +0000 Received: (at 41941) by debbugs.gnu.org; 19 Jun 2020 14:43:24 +0000 Received: from localhost ([127.0.0.1]:56628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmIEm-00026r-Gw for submit@debbugs.gnu.org; Fri, 19 Jun 2020 10:43:24 -0400 Received: from mout.web.de ([217.72.192.78]:42351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmIEk-00026d-8f for 41941@debbugs.gnu.org; Fri, 19 Jun 2020 10:43:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1592577792; bh=BwmSAL1Wm4VWR9Kp0NsKMXKm+LDQFx+fiktqKsIsC6I=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=nu/42TX6wOrEwG1s37Ifl8EO3KBdpzkGr22xgKjEFKOg2PmK8hQ/HMPZXzluoBTJS WRyTagyGwJrCHDXUIxmyDLQnQSO0KMS9uYjQtwijtAk4DFV1cS/Tql8z+e7l4FPfOe CIo7KsDbDVSMYch4hI/k5I+PKnQHsewLlNXh/2WU= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.20] ([88.152.184.127]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LzbLS-1irUV00JVa-014o9E; Fri, 19 Jun 2020 16:43:12 +0200 References: <20200619015247.GA1458@jasmine.lan> From: Jonathan Brielmaier Message-ID: <2036f2a5-4ec9-0e44-3e71-e6860f5979fa@web.de> Date: Fri, 19 Jun 2020 16:43:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200619015247.GA1458@jasmine.lan> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:02OeH6W7KJYf9vut4brBxna/BKLk9H5rvhTjPUDtn6rkApL0JCH vFKJIG32D2spgmlrY6GblHFUXKX9sOqjidp2QXalPjQ8/5Z75fl8VUtKfjz9tO7KLmPPBuV wxMEWsoSiHT0pNclrLESh0rzyHtN/83yXQxwi9Dl6+q1uqq9OY9DEpZVlwhZ7YKEfooqUB5 /nG+KKAMpq2iVnmTbp4qw== X-UI-Out-Filterresults: notjunk:1;V03:K0:uL7YYvMolUA=:1KLhOw2hkFyXrjKZ8bpFBu 8lguFQxpVWlWtU7e6pYH9n6ljfPUD+Q9IFWXeDTdAG6F+y4XK2/Nt0PF63RId6WH5N+ZnIvO+ sJQgNrS7X04W5P3NRyDcOTdaYaKGQhP2dkma2ijL+2dRe7scet8uZlXojM7OUR78J8MNk9N/C yB4J8oJ+3PPYZsLCRtZyW0pOglgLsDu4U7411q4hSgXZQtRponJxNroPPVoSa48bgueX/ftO/ kPy8pbktD3G8Us4xI4KXAiI9WnZlxzcNY4PO4aGMh2Y0B2aVVLJ5bj8CuGsobBUygaZl9Qn81 bacOQJd3AXZICIeDNdSoOg9NbJFyQvw4nVg9Aa2mgn4VlQoMUzwDKLVgHD8axEMSCwllWCDSN zW9J3gh5CE4olS2rRfdsrSuQwinDurWFzg01iVIlTSEWF2kYibs23QeJdq4mRDWTRBRK2UvbU fhIJLcE/hU0DruiFqLHS/JG4EWMt02nASKWbwRsUQpKFJw9rs3X+NWqkzm9tOeVV2Dun5stRX 09n8NyuWWE8ydiohd7fHGbhXNiRyWDfUydILCQLnRIjs3dyQ5+r1bfgCmVv7u6wlg887ZBs9H KwOglRwVzvkN808aomZ9CxMTGl8V3iF7zyERIpJyEFtP1Pz+XlPvbNmhITyAVMN+fpx/9+Aw7 X1cBMoDlcR/EkMR/601dHg0Bv+hKpWfciR6zjRj2+Pa282O75jV0UdR4g4TBIxN7IyvrkSfpZ 2IE8MdIXPq2WfYtyUHfPqnxa3Sza4lLIenx0TlIOXI+GZIdmQV+1OwJ1XpmYJK5ORp+91cmlr mUMBTeDHFXaB9pRIABZsb95l+f/rkW5pGSw3bm9Ti/gIp/3NyiB+9ZYfaTJSX2HI5Vb8cYjJu 1DhwtTUQLePSFvhLHkZ8al4EIE4M0rxdxhKsPhKlBdFXvbrDYiFiB2TCghe8OQ5GH45BCS+7U b4pBE2sBjALzpDnE8MfTX09vlCoae3S3E7V8bldkIoc/DRIAIiJH8IuKM4Ky/reGSjsJJnDM4 eJo9p+gAwaDN5ee3HN/ydvwWjV9WBmwzDE6RJiufR/6p4Ji929Fv74XE3u+iJdEVCBcpG+Tlb sNZujQh6h8ucrmwanYJLL3yULWU8k7YY511TOM15GKtRPQGI+baUP+L8gcBMDGCc3KTR6mlge /kR+ZQMVpiHSlDhAsk9oS7W5bUSdGc6I/1HPfh8te+ywGerc+BTNMh0XC5pb67zwH96525hh2 Ez3wbR7xe1okJrL6o X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41941@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=web.de header.s=dbaedf251592 header.b=nu/42TX6; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: +uBO2HVq5C15 On 19.06.20 03:52, Leo Famulari wrote: > On Fri, Jun 19, 2020 at 12:35:09AM +0200, Jonathan Brielmaier wrote: >> I have a strange error/problem with signing git commits with PGP. > > The setup can be complicated... > >> Following situation >> >> `git` is installed via system configuration >> `git:send-email` via `guix install` into the user profile >> >> ~/.gitconfig has >> ``` >> [commit] >> gpgsign =3D true >> ``` > > I also have: > > ------ > [gpg] > program =3D gpg > [user] > signingkey =3D B0515948F1E7D3C1B98038A02646FA30BACA7F08 > ------ Oke, the signingkey parameter is also present in my config. >> but trying to sign a git commit fails: >> ``` >> git commit -m "test" >> error: gpg failed to sign the data >> fatal: failed to write commit object >> ``` > > Do you also have a GPG pinentry program installed? Are you able to sign > an arbitrary file with GPG, outside of Git? For example: > > $ gpg --output test.sig --sign file I have pinentry installed from the config.scm, but it's still ``` gpg --output test.sig --sign TODO.md gpg: signing failed: No pinentry gpg: signing failed: No pinentry ``` Do I need an additional service?