From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: gpg-agent error: No pinentry Date: Wed, 18 Dec 2019 22:52:51 +0100 Message-ID: References: <20191218224127.5192dde2@jasniac.instanton> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54213) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihhFk-0001Ld-1Z for help-guix@gnu.org; Wed, 18 Dec 2019 16:53:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihhFi-00061F-WF for help-guix@gnu.org; Wed, 18 Dec 2019 16:53:07 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:38746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihhFi-0005zZ-PN for help-guix@gnu.org; Wed, 18 Dec 2019 16:53:06 -0500 Received: by mail-ed1-x532.google.com with SMTP id i16so2915869edr.5 for ; Wed, 18 Dec 2019 13:53:05 -0800 (PST) In-Reply-To: <20191218224127.5192dde2@jasniac.instanton> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marco van Hulten Cc: help-guix Hello, Marco van Hulten ezt =C3=ADrta (id=C5=91pont: 2019. dec.= 18., Sze 22:41): > Hello=E2=80=94 > > I have installed gnupg 2.2.18 and pinentry 1.1.0 on a Guix System. > When I try to import a key, I get this issue: > > $ gpg --import publiko-secret.asc > gpg: key 9FC3734DFB84400D: "Marco van Hulten (publiko) = " > not changed > gpg: key 9FC3734DFB84400D/9FC3734DFB84400D: error sending to agent: No > pinentry > gpg: error building skey array: No pinentry > gpg: error reading 'publiko-secret.asc': No pinentry > gpg: import from 'publiko-secret.asc' failed: No pinentry > gpg: Total number processed: 0 > gpg: unchanged: 1 > gpg: secret keys read: 1 > > It seems that the public key is imported but not the private key (I can > encrypt but not decrypt). On an OpenBSD-current system importing this > key works properly. > > Do I need to do any more actions accept for 'guix package -i gnupg > pinentry'? > Yes, unfortunately you need to set pinentry program in gpgagent conf. I am on mobile right now, so I don't have the exact settings at hand, but this should give you enough info to search for the solution. > > Thanks, > > =E2=80=94Marco > Regards, g_bor > >