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: Fri, 20 Dec 2019 20:12:30 +0100 Message-ID: References: <20191218224127.5192dde2@jasniac.instanton> <20191218215008.GA8426@jurong> <20191219092258.30cccce4@jasniac.instanton> <20191219100240.3b404ba9@jasniac.instanton> <20191220104927.1533364a@gfi063209.klientdrift.uib.no> 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]:57723) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiNhd-0003BC-RX for help-guix@gnu.org; Fri, 20 Dec 2019 14:12:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiNhc-0004g3-Mk for help-guix@gnu.org; Fri, 20 Dec 2019 14:12:45 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:44122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiNhc-0004ci-De for help-guix@gnu.org; Fri, 20 Dec 2019 14:12:44 -0500 Received: by mail-ed1-x534.google.com with SMTP id bx28so9307961edb.11 for ; Fri, 20 Dec 2019 11:12:43 -0800 (PST) In-Reply-To: <20191220104927.1533364a@gfi063209.klientdrift.uib.no> 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, Marco van Hulten ezt =C3=ADrta (id=C5=91pont: 2019. dec.= 20., P, 10:49): > > Following up on my pinentry issue=E2=80=94 > > In the end I used a work-around. I decrypted the sensitive file on an > off-line OpenBSD machine onto a mounted USB flash drive, then mounted > the drive to the Guix machine, did what I needed to do with the file, > shredded any copy of the file and finally removed the USB drive and > destroyed it with a hammer. I am sorry that this ended up like this. If you still have the patience to experiment a little could you try with pinentry-tty on the console and pinentry-gtk on a gui? It might be a valuable experience, and a feedback that our simple pinentry is faulty in some ways. I have extracted the inforamtions from my config, and it looks like this: manifest: (specifications->manifest '("gnupg" "pinentry-tty")) I also use guix home-manager on this particular machine, the related config items look like: (define gpg-agent.conf (plain-file "gpg-agent.conf" " pinentry-program /home//.guix-profile/bin/pinentry ")) and (home (data-directory "/data/") (configurations (list (simple-file-home gpg-agent.conf ".home-config/.gunpg/gpg-agent.conf")))) I am using bash, and I also have: At the end of my .bashrc: export GPG_TTY=3D$(tty) And at the end of my .bash_profile: gpg-agent --options /home/gabriel/.home-config/.gnupg/gpg-agent.conf --daem= on I believe that is all. Could you have a look if it works for you with these settings? Also, please not that these are for console only use, most probably some other tweaks are needed to use this form a gui. > > =E2=80=94Marco > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21