From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness Resent-From: Zacchaeus Scheffer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Feb 2022 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54014@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16449512744538 (code B ref -1); Tue, 15 Feb 2022 18:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2022 18:54:34 +0000 Received: from localhost ([127.0.0.1]:46402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK2y9-0001B8-LQ for submit@debbugs.gnu.org; Tue, 15 Feb 2022 13:54:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:54704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK2y8-0001B1-Jr for submit@debbugs.gnu.org; Tue, 15 Feb 2022 13:54:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK2y6-00075Z-Bo for bug-guix@gnu.org; Tue, 15 Feb 2022 13:54:30 -0500 Received: from [2a00:1450:4864:20::532] (port=39773 helo=mail-ed1-x532.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK2y2-000110-Bo for bug-guix@gnu.org; Tue, 15 Feb 2022 13:54:28 -0500 Received: by mail-ed1-x532.google.com with SMTP id u18so987546edt.6 for ; Tue, 15 Feb 2022 10:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=aB6Wxp/TI0yPE4ArWOEs65s0yL9AS3w4UBm8N5NS1Bg=; b=gtq9u2nnf+wllJv5gIke1hafPk/ROHjZYRam3kZwH7eXJ8NyKkB+xKGEMCOhQCCytV YTIlLkVkLVfsnOij09ub+PyD5zHgrxXAOpBo+72YjfLdA9meiKGX3wosAZsj/QJ4lhxL +34AXDAq7HhvM29mXvXMVv7Yhz2VzCOm3d1PFTk9FDmFvlxmpHoxpp4S5k56+rBpju0U /eZopAg+jVDC1PHmDuNpVQKki+WeCr4mcWkRBW2eItmR7QkxzB/NJIvTRsGcrFljLIFA o2FcE0nNh6gTSvZmTIlSm7BfA7fDdRVI437ht+eSYxpGO9cv3OFI9OPVWFJxKYbHefuv JG1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aB6Wxp/TI0yPE4ArWOEs65s0yL9AS3w4UBm8N5NS1Bg=; b=4Rm3G/rTSKNnF0PV6yZWcMefTko4oRHmeTJkBf5r/OgNgDseuWR1Z12t210hNT0UDv 3cD5sqMPMHo+alcBCKJimSPp69WNCrp95vBuAEZ/BgbT6k9oM0y32DPAXa+NGS7bYuLB dcIP+sxdTYUCcaIPPSVZIyTPw+UGChIMCvkmRh03xd78uNwN5XRbTSTUSRvVyWb3DVGZ PiP/dlX6cwfLOeGRRtclovuLLCl2imC2e+Kuq9J3VlIWNyniem6Q98bjMLPzQi66KC19 Zw7PSWBPlqT3VqTfkKKxB6G/zRuvNS/PiDOSHluZRTK+1VOCrkJjYCAu0Rr3JfsCR8+F x4zg== X-Gm-Message-State: AOAM531BRt+I37h+WOA88LEYFb5a0dcTfzvFxBaTX/iQvuxVRNiC0gYf YF2efcjD8olAKGNeyLev0OtaipaKCQPFc9kv7Up1R6AUQJU= X-Google-Smtp-Source: ABdhPJy+GhqKq1AyFdfQKU9QlkzhQm8nGpTMLwTtVopzAxjpupmXoVn0XzStqjlQXzk9byJR6xy2xrkMc2nwgGWxPxc= X-Received: by 2002:a17:906:4781:: with SMTP id cw1mr390476ejc.264.1644950821875; Tue, 15 Feb 2022 10:47:01 -0800 (PST) MIME-Version: 1.0 From: Zacchaeus Scheffer Date: Tue, 15 Feb 2022 13:46:50 -0500 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006931b505d812f521" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::532 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=zaccysc@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000006931b505d812f521 Content-Type: text/plain; charset="UTF-8" Hi Guix, There seems to be some problem installing password-store + pinentry entirely via guix home. When I have both installed as such, I get the following outputs: $ pinentry OK Pleased to meet you $ gpg --import ... [prompts normally with pinentry, allows me to import] $ pass [my password entries] $ pass [entry name] gpg: decryption failed: No secret key $ guix package -i pinentry $ pass [entry name] [prompts with pinentry and works normally] So pinentry and pass seem to both be available, but don't work together unless I install pinentry via guix package. My guix install is about two months behind, so sorry if this has already been patched. -Zacchaeus --0000000000006931b505d812f521 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Guix,

There seems to be some pro= blem installing password-store=C2=A0+ pinentry entirely via guix home.=C2= =A0 When I have both installed as such, I get the following outputs:
<= div>
$ pinentry
OK Pleased to meet you
&l= t;C-c>
$ gpg --import ...
[prompts normally with pin= entry, allows me to import]
$ pass
[my password entries= ]
$ pass [entry name]
gpg: decryption failed: No secret= key
$ guix package -i pinentry
$ pass [entry name]=
[prompts with pinentry and works normally]

<= div>So pinentry and pass seem to both be available, but don't work toge= ther unless I install pinentry via guix package.

M= y guix install is about two months behind, so sorry if this has already bee= n patched.

-Zacchaeus

--0000000000006931b505d812f521-- From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness References: In-Reply-To: Resent-From: Zacchaeus Scheffer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Feb 2022 20:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54014@debbugs.gnu.org Received: via spool by 54014-submit@debbugs.gnu.org id=B54014.164495621422088 (code B ref 54014); Tue, 15 Feb 2022 20:17:01 +0000 Received: (at 54014) by debbugs.gnu.org; 15 Feb 2022 20:16:54 +0000 Received: from localhost ([127.0.0.1]:46554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK4Fp-0005kC-QV for submit@debbugs.gnu.org; Tue, 15 Feb 2022 15:16:54 -0500 Received: from mail-ej1-f46.google.com ([209.85.218.46]:42721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK4Fo-0005jz-Fb for 54014@debbugs.gnu.org; Tue, 15 Feb 2022 15:16:53 -0500 Received: by mail-ej1-f46.google.com with SMTP id hw13so18127659ejc.9 for <54014@debbugs.gnu.org>; Tue, 15 Feb 2022 12:16:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=0cDxBPsBPHyDQliIx4Ms/d8/f5xUePNQgaoMZVrWgmk=; b=XpVdMmwvIIgtzhLo3cAu7AyweTyqCveA0G0XZpLwZCLy27zweQUQ2yIxM2k7pNk/sp 9tbKYoA3ZRGIJ9rpp1EoLfZ55qivpss38LSOasacif4GWhqAgDrbNBOIG7Bk+vgT/TF9 CsIpieqzDxPlr467vbK21IS8tth7KA66Y1NG7hzYlFwTa/4gYKagq3lw6zize2Jb18YY AYfict3Qdy7u2ma3Dc5fY1O2koDKsqghNlPcU4T3p9IpfrQ9L7+c7MraQUbcI7lp/pBL eXndL6YVqCo5pl6TXr8vnPRYXUCzMTbS2g+nal2tDWhh36clL3tZpX4JPO13I6DXM10+ CsaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0cDxBPsBPHyDQliIx4Ms/d8/f5xUePNQgaoMZVrWgmk=; b=jE6fjIScpftsUxFQaKYTf3axeQHRmQMZJyNoib2OM1xlFs/oU+gKulkHsvSKQZLaYO yreHPu/vMTpR/zaG6ywJ4l/krCDcVJlQYzt8OlMyMBSekpPw0utJnZOu6v2kCPIWB9vu X1Pv3w9zqA17ZsaihiDZGSORGcT35T9LpLPf8FLBlcY9mK6As2XqCfJW3N0H6k56cBiS 7eKUtAGUW+v+TYpRnUBESSBA/G+jeT9bw9wNFn1w2OIMZhktUzHNFJXDPlnm35Dqltmg ptrsKzMF5cBY2s36pBiUGzFb5Odp6uyy5bMZaHQkdoTB7ry4JBEL0hhKPHBlrjI+eMrs XAXQ== X-Gm-Message-State: AOAM530RZ3hrRU+cJI2pCNiynEeiyq2fcYAN+BmBg0Uhti7/aqj8rkDx lpPGQQGBICc8vdiGv1yBY+/NyeQtxcM5LoYVPxjBcXaVzJN+2g== X-Google-Smtp-Source: ABdhPJz8lD31pMW8P5mAjgU4zWg0YAHvpM7mOvhvRGVmQ/cK3WLLyRmKkfUbFMSLaXY29M5+aua43iVkv9lB5DySEaY= X-Received: by 2002:a17:906:4781:: with SMTP id cw1mr657656ejc.264.1644956206271; Tue, 15 Feb 2022 12:16:46 -0800 (PST) MIME-Version: 1.0 From: Zacchaeus Scheffer Date: Tue, 15 Feb 2022 15:16:35 -0500 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005890c805d814362d" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000005890c805d814362d Content-Type: text/plain; charset="UTF-8" I thought it might be important to confirm package versions. Here is some sample commands and their output: before guix package -i pinentry (pass not giving pinentry prompt) $ ls -l $(which -a pinentry) lrwxrwxrwx 1 root root 71 Dec 31 1969 /home/zacchae/.guix-home/profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf-pinentry-1.2.0/bin/pinentry after guix package -i pinentry (pass works normally) $ ls -l $(which -a pinentry) lrwxrwxrwx 1 root root 71 Dec 31 1969 /home/zacchae/.guix-home/profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf-pinentry-1.2.0/bin/pinentry lrwxrwxrwx 1 root root 71 Dec 31 1969 /home/zacchae/.guix-profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf-pinentry-1.2.0/bin/pinentry So it's not as simple as a version mismatch. -Zacchaeus --0000000000005890c805d814362d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I thought it might be important to confirm package version= s.=C2=A0 Here is some sample commands and their output:

before guix = package -i pinentry (pass not giving pinentry prompt)

$ ls -l $= (which -a pinentry)
lrwxrwxrwx 1 root root 71 Dec 31 =C2=A01969 /home/za= cchae/.guix-home/profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkd= w2a6jmgnm8kf-pinentry-1.2.0/bin/pinentry

after guix pack= age -i pinentry (pass works normally)

$ ls -l $(whic= h -a pinentry)
lrwxrwxrwx 1 root root 71 Dec 31 =C2=A01969 /home/zacchae= /.guix-home/profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkdw2a6j= mgnm8kf-pinentry-1.2.0/bin/pinentry
lrwxrwxrwx 1 root root 71 Dec 31 =C2= =A01969 /home/zacchae/.guix-profile/bin/pinentry -> /gnu/store/3hl7w63q0= axngysrslkdw2a6jmgnm8kf-pinentry-1.2.0/bin/pinentry
So it's not as simple as a version mismatch.

-Zacchaeus
--0000000000005890c805d814362d-- From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Feb 2022 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zacchaeus Scheffer , 54014@debbugs.gnu.org Received: via spool by 54014-submit@debbugs.gnu.org id=B54014.164499813917771 (code B ref 54014); Wed, 16 Feb 2022 07:56:02 +0000 Received: (at 54014) by debbugs.gnu.org; 16 Feb 2022 07:55:39 +0000 Received: from localhost ([127.0.0.1]:47258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKFA2-0004cZ-Ub for submit@debbugs.gnu.org; Wed, 16 Feb 2022 02:55:39 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:47730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKFA0-0004cO-2j for 54014@debbugs.gnu.org; Wed, 16 Feb 2022 02:55:36 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Jz9HR6KKKz1LZWS; Wed, 16 Feb 2022 08:55:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Jz9HR6KKKz1LZWS DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1644998132; bh=n4niysSiULL0Qk1YbmAlXTStBbvvTTNzPBcwoik7hQY=; h=Subject:From:To:Date:In-Reply-To:References:From; b=KczPkgKYoa2Wf4DwbbyUry8y+WGcl9B2fl2YIjSCPzWpHZsZwA1HFJ7E0Fkl6TR6f kj8L+v/EAxJfMolD+MaGXMbwvwvZlcUtKwBRZZpyPqmkr+ajEt6n1Ov+1UgC5s2WdF dCft9eoElgS0FHDT16Nzyq6gmdkIt+r71mqxDmrI= Message-ID: From: Liliana Marie Prikler Date: Wed, 16 Feb 2022 08:55:31 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Zacchaeus, Am Dienstag, dem 15.02.2022 um 15:16 -0500 schrieb Zacchaeus Scheffer: > I thought it might be important to confirm package versions.  Here is > some sample commands and their output: > > before guix package -i pinentry (pass not giving pinentry prompt) > > $ ls -l $(which -a pinentry) > lrwxrwxrwx 1 root root 71 Dec 31  1969 /home/zacchae/.guix- > home/profile/bin/pinentry -> > /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf-pinentry- > 1.2.0/bin/pinentry > > after guix package -i pinentry (pass works normally) > > $ ls -l $(which -a pinentry) > lrwxrwxrwx 1 root root 71 Dec 31  1969 /home/zacchae/.guix- > home/profile/bin/pinentry -> > /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf-pinentry- > 1.2.0/bin/pinentry > lrwxrwxrwx 1 root root 71 Dec 31  1969 /home/zacchae/.guix- > profile/bin/pinentry -> /gnu/store/3hl7w63q0axngysrslkdw2a6jmgnm8kf- > pinentry-1.2.0/bin/pinentry Did you duplicate the output here? In any case, the issue you're describing would make sense if pass was calling pinentry as simply "pinentry" rather than by store path. AFAIK gpg has a configuration key telling it which pinentry to spawn -- I personally set that to /run/current-system/profile/bin/pinentry-gnome3 on most of my machines. Does pass adhere to that setting or does it try to call pinentry on its own? Cheers From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Jul 2022 05:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zacchaeus Scheffer , 54014@debbugs.gnu.org Received: via spool by 54014-submit@debbugs.gnu.org id=B54014.165691386330990 (code B ref 54014); Mon, 04 Jul 2022 05:52:02 +0000 Received: (at 54014) by debbugs.gnu.org; 4 Jul 2022 05:51:03 +0000 Received: from localhost ([127.0.0.1]:45865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Ez8-00083m-MC for submit@debbugs.gnu.org; Mon, 04 Jul 2022 01:51:02 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:42833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Ez6-00083F-6b for 54014@debbugs.gnu.org; Mon, 04 Jul 2022 01:51:01 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 03DC5200003; Mon, 4 Jul 2022 05:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1656913853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YCB5b8YWcAgYyoY1JIyHihZz8axz2CTYQ96G/8feRMI=; b=HRmyy6nnGQck21tEgho/LnTqLSLwqAfd5fSGzmBe0OAB7ThQXaVf+PbPoRkNqGllBpJv4g 9zuAebygt/9QsjUJcFP2CjpdP5UZW2E4uB3p92+TiNXisqHv7PQxMk9dQsdhT+lf4Oi1Q9 boJiT/GppGE9+K3NscSisg0lVTkZZhvQn5c5lyeFRUIV4PEc8fViu27pzFfi6R8ivArqGD sVi9VNfheswxqMoGoIvlF+LG1ZDEl8p2Ul5H+Ux8wffKUOiHwO/UnVWhecGsSqbf2RjXDu LBe+q5P4Cj2OtnF7ha3CMlIuMpw7NCtF0QBJ0QH/0Kit/dUTpyvmKUPtXYKAmA== From: Andrew Tropin In-Reply-To: References: Date: Mon, 04 Jul 2022 08:50:49 +0300 Message-ID: <877d4t5sue.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-02-15 13:46, Zacchaeus Scheffer wrote: > Hi Guix, > > There seems to be some problem installing password-store + pinentry > entirely via guix home. When I have both installed as such, I get the > following outputs: > > $ pinentry > OK Pleased to meet you > > $ gpg --import ... > [prompts normally with pinentry, allows me to import] > $ pass > [my password entries] > $ pass [entry name] > gpg: decryption failed: No secret key > $ guix package -i pinentry > $ pass [entry name] > [prompts with pinentry and works normally] > > So pinentry and pass seem to both be available, but don't work together > unless I install pinentry via guix package. > > My guix install is about two months behind, so sorry if this has already > been patched. > > -Zacchaeus I suspect that the problem is that someone at some moment of time doesn't have ~/.guix-home/profile/bin in its $PATH and thus it can't find a pinentry. Can you show `which gpg`, `which pass`, `which pinentry`? The gnupg home service from rde project goes a slightly other way and just sets pinentry-program to absolute path in the store. Such approach works with pass well, you can take a look at it for inspiration: https://git.sr.ht/~abcdw/rde/tree/master/item/gnu/home-services/gnupg.scm#L= 127 =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmLCf7kACgkQIgjSCVjB 3rCGmA/+IxpJI/7I4f6miaI+au/yRhPnVT3JQ9/He6rLPvsZyYWxl7B9VnHpIGlH ou4I7sqYqghCcgVkR6xxEBXlHz35rQ3HBqJUSPccK5xhkhisO1JYzrLkTS8jEzDZ 2yBn/dWSjOUk0xCO+XvvfnJ/F3byYH1EZHV5n9l/wbbyugwNsiWfq2w29oyvA87V N4Zythww/Zpdj4agqKPgjOZ7IK5N4WLCqgKLzquPyrFH9lMa3irEqlG9zq3LnMTB ldTJa44ODCWr3qc5PAF4RyT8UNE8O+lA2IIERXunT6329d8bJgJzYXCMrcwDR4ep VH60IblIvfuiehyFjcrQiPICIg2qMd3oUQJRk1InfGuyJtOIxT2t50WI9fh3OJDw LFWqVpR9UbUJ+k1eqryN/P4udnbnnE6kcAQcM942E6p7/RycnBNj3G4igJoHk3Dm Y6NhIsxSp2NJEUFUA420gVhW4NtFFi6W7xxOY3+a+eX2Dln1wWGJILrNQh1evx6u TfbtvFWtMjU0MRHF4bHOMOAYCToEzmZkKB/Y4n2sphqwX5xcXiv3iUm4q/WI7k4S 7I7m0D3m2L/JSP4gZHd8++g01M7ga/N0VOJLTHY2wzUjz4uElmSvVYa/XQLpzlsD C1AHnzE/9RENGXHsS9SrA0CnZSg17vcg85YSP6hrjQABTc3lqBM= =K/8n -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness Resent-From: Zacchaeus Scheffer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 17 Jul 2022 04:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Tropin , 54014@debbugs.gnu.org Received: via spool by 54014-submit@debbugs.gnu.org id=B54014.16580330837046 (code B ref 54014); Sun, 17 Jul 2022 04:45:02 +0000 Received: (at 54014) by debbugs.gnu.org; 17 Jul 2022 04:44:43 +0000 Received: from localhost ([127.0.0.1]:46473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCw94-0001pZ-GZ for submit@debbugs.gnu.org; Sun, 17 Jul 2022 00:44:42 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:39465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCw92-0001pN-Cq for 54014@debbugs.gnu.org; Sun, 17 Jul 2022 00:44:41 -0400 Received: by mail-qv1-f53.google.com with SMTP id nd6so6601417qvb.6 for <54014@debbugs.gnu.org>; Sat, 16 Jul 2022 21:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Pw92OBVqCd2sMvSPuZRU0if9EbCiGIqjsa8HPut06IM=; b=exk/G00PGvoUdnsvNwsp8T3Zs/M6CNIO3cUDPLWeUqA9yxI33oeGgalAG/xdAeQOpj 8KIQ1BopBOUiqhvNvCzslVExIFteDDRDxBENfzLSFDCNPjPmLhiDXS5nTZUKca3LOIf4 L//DdZaAE49htbnrmYVCAm2jlKc20KODYtTMlqdGLnMctkVG6ogh89CEP1Xq4VtjoEnd 979nT91doCoLgvKITtj+QVAvHFUsQ+m14/druUmQvkmoznJQMiHLAXzRUNpkRx+3Igab A9ymJXHGqQQN6dUE8h6j80KAy07ypZp27rIBQ2mJdbFeFB1avel88rh9/6Yv3d51QU4t HhTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Pw92OBVqCd2sMvSPuZRU0if9EbCiGIqjsa8HPut06IM=; b=wGREnAQvqfrzmEl5J6WcPGuMSO3IhluNV9d4681751ybyYs5BIhNhIcCh7mPmqPUB+ GdyxN4NG06rtdS2zsreiRqe8D7vwCI6WywCrSBeOQpymCGSDg6mcfUsObiu4zspGAakB WWqmu9KgdeOnyDbCF0k+yqWdTdD2Qe508WO65liq2dyhCkubGoIxmWf3upV02Y+DXJMY 0U3xkpchw7JM7hAWwHjFIgFHkWiI0SOI2D2GLmP3gCujtW24OHkQDc8/5y7+6IKVd+pF Pk2IwpYNlC1BQU/4o8S5tmGE36DEMHsHIhlsY8JfLOP/xT1cbX9U/ZAgc0mR/uFsc1Dh IZzA== X-Gm-Message-State: AJIora9btoe8s1/B02KdHGNTnvsZdyH+gXUJ6Ei3QZVXOetykcr3StGR nAvhZsZbnVoPerrxuKvegzlS9V7m8g1cooc41jH400aNQzgHnw== X-Google-Smtp-Source: AGRyM1viA8t1El1YY24u0Ysb69cqYZVj/K4neTtaE7813SZDPLQkjYtWC+MycxUko/mncAauyMWHGgYrh0hA9gGrb+U= X-Received: by 2002:ad4:5dcc:0:b0:473:9d1d:a1e with SMTP id m12-20020ad45dcc000000b004739d1d0a1emr14375066qvh.54.1658033074712; Sat, 16 Jul 2022 21:44:34 -0700 (PDT) MIME-Version: 1.0 References: <877d4t5sue.fsf@trop.in> In-Reply-To: <877d4t5sue.fsf@trop.in> From: Zacchaeus Scheffer Date: Sun, 17 Jul 2022 00:44:23 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000071b22605e3f8e862" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000071b22605e3f8e862 Content-Type: text/plain; charset="UTF-8" On Mon, Jul 4, 2022 at 1:50 AM Andrew Tropin wrote: > On 2022-02-15 13:46, Zacchaeus Scheffer wrote: > > There seems to be some problem installing password-store + pinentry > > entirely via guix home. When I have both installed as such, I get the > > following outputs: > > > > $ pinentry > > OK Pleased to meet you > > > > $ gpg --import ... > > [prompts normally with pinentry, allows me to import] > > $ pass > > [my password entries] > > $ pass [entry name] > > gpg: decryption failed: No secret key > > $ guix package -i pinentry > > $ pass [entry name] > > [prompts with pinentry and works normally] > > > > So pinentry and pass seem to both be available, but don't work together > > unless I install pinentry via guix package. > > I suspect that the problem is that someone at some moment of time > doesn't have ~/.guix-home/profile/bin in its $PATH and thus it can't > find a pinentry. Can you show `which gpg`, `which pass`, `which > pinentry`? > Before running "guix package -i pinentry" $ which -a pinentry /home/zacchae/.guix-home/profile/bin/pinentry $ which -a gpg /home/zacchae/.guix-home/profile/bin/gpg $ which -a pass /home/zacchae/.guix-home/profile/bin/pass After runing "guix package -i pinentry" $ which -a pinentry /home/zacchae/.guix-home/profile/bin/pinentry /home/zacchae/.guix-profile/bin/pinentry $ which -a gpg /home/zacchae/.guix-home/profile/bin/gpg $ which -a pass /home/zacchae/.guix-home/profile/bin/pass I can easily reproduce the behavior by removing or installing pinentry with guix package. Paths behave as expected. The gnupg home service from rde project goes a slightly other way and > just sets pinentry-program to absolute path in the store. Such approach > works with pass well, you can take a look at it for inspiration: > > https://git.sr.ht/~abcdw/rde/tree/master/item/gnu/home-services/gnupg.scm#L127 > I don't totally follow what's going on here, but maybe it will make more sense later. --00000000000071b22605e3f8e862 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jul 4, 2022 at 1:50 AM Andrew Tro= pin <andrew@trop.in> wrote:
=
On 2022-02-15 13:46, Zacchaeus Scheffer wrote:
> There seems = to be some problem installing password-store + pinentry
> entirely via guix home.=C2=A0 When I have both installed as such, I ge= t the
> following outputs:
>
> $ pinentry
> OK Pleased to meet you
> <C-c>
> $ gpg --import ...
> [prompts normally with pinentry, allows me to import]
> $ pass
> [my password entries]
> $ pass [entry name]
> gpg: decryption failed: No secret key
> $ guix package -i pinentry
> $ pass [entry name]
> [prompts with pinentry and works normally]
>
> So pinentry and pass seem to both be available, but don't work tog= ether
> unless I install pinentry via guix package.

I suspect that the problem is that someone at some moment of time
doesn't have ~/.guix-home/profile/bin in its $PATH and thus it can'= t
find a pinentry.=C2=A0 Can you show `which gpg`, `which pass`, `which
pinentry`?
Before running "guix package -i pinent= ry"
$ which -a pinentry
/home/zacchae/.guix-home/profile/bin/p= inentry
$ which -a gpg
/home/zacchae/.guix-home/profile/bin/gpg
$ = which -a pass
/home/zacchae/.guix-home/profile/bin/pass
After ru= ning=C2=A0"guix package -i pinentry"
$ which -a pinentry
= /home/zacchae/.guix-home/profile/bin/pinentry
/home/zacchae/.guix-profil= e/bin/pinentry
$ which -a gpg
/home/zacchae/.guix-home/profile/bin/gp= g
$ which -a pass
/home/zacchae/.guix-home/profile/bin/pass
= =C2=A0
I can easily reproduce the behavior by removing or install= ing pinentry with guix package.=C2=A0 Paths behave as expected.
<= br>
The gnupg home service from rde project goes a slightly other way and
just sets pinentry-program to absolute path in the store.=C2=A0 Such approa= ch
works with pass well, you can take a look at it for inspiration:
https://git.sr.ht/~abc= dw/rde/tree/master/item/gnu/home-services/gnupg.scm#L127
=C2=A0I don't totally follow what's going on here, but maybe= it will make more sense later.
--00000000000071b22605e3f8e862-- From unknown Sat Jun 14 19:12:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54014: guix home pinentry weirdness Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Jul 2022 07:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zacchaeus Scheffer , 54014@debbugs.gnu.org Received: via spool by 54014-submit@debbugs.gnu.org id=B54014.16581277915209 (code B ref 54014); Mon, 18 Jul 2022 07:04:01 +0000 Received: (at 54014) by debbugs.gnu.org; 18 Jul 2022 07:03:11 +0000 Received: from localhost ([127.0.0.1]:49071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDKmY-0001Lr-Pr for submit@debbugs.gnu.org; Mon, 18 Jul 2022 03:03:11 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:33901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDKmJ-0001L6-Rr for 54014@debbugs.gnu.org; Mon, 18 Jul 2022 03:03:05 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 27E2B1BF210; Mon, 18 Jul 2022 07:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1658127765; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eoPuJJrIBF6wj+hhISCxox0BrRg+5h9m96R+2kvmX+A=; b=N5PTEUNICTfqSpdxRSjTp4wzxrKaYEPVV4QogcWu1kiTImbV0W22ii8vqLB16EWSaIYvym sxjkZT4Z9JwtP6XAAR+s58IayVx6iZ6WRK4W+bsj0ltjUc0sTlZfKcZxfTZKh1kkdIkUIe kalfkmhreWTvg63klg4Y3RJ0zRGtLN9WH5oJCb5rUn0uqDi0R9f9aLKQ56+ehM1jBYGIBx WuTlRI/vThZNarXXzddRKw3UVtM11iOc/3WmcuxejSgjS+QjkXxMH90tFM7RRl2vA5fv/v JrP5MLsTHzx+OtEeRJFooctYibI+vGrO467TpMpC9z3pNbp1Vp2AlnqiaSLl8w== From: Andrew Tropin In-Reply-To: References: <877d4t5sue.fsf@trop.in> Date: Mon, 18 Jul 2022 10:02:39 +0300 Message-ID: <87r12i6gz4.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-07-17 00:44, Zacchaeus Scheffer wrote: > On Mon, Jul 4, 2022 at 1:50 AM Andrew Tropin wrote: > >> On 2022-02-15 13:46, Zacchaeus Scheffer wrote: >> > There seems to be some problem installing password-store + pinentry >> > entirely via guix home. When I have both installed as such, I get the >> > following outputs: >> > >> > $ pinentry >> > OK Pleased to meet you >> > >> > $ gpg --import ... >> > [prompts normally with pinentry, allows me to import] >> > $ pass >> > [my password entries] >> > $ pass [entry name] >> > gpg: decryption failed: No secret key >> > $ guix package -i pinentry >> > $ pass [entry name] >> > [prompts with pinentry and works normally] >> > >> > So pinentry and pass seem to both be available, but don't work together >> > unless I install pinentry via guix package. >> >> I suspect that the problem is that someone at some moment of time >> doesn't have ~/.guix-home/profile/bin in its $PATH and thus it can't >> find a pinentry. Can you show `which gpg`, `which pass`, `which >> pinentry`? >> > Before running "guix package -i pinentry" > $ which -a pinentry > /home/zacchae/.guix-home/profile/bin/pinentry > $ which -a gpg > /home/zacchae/.guix-home/profile/bin/gpg > $ which -a pass > /home/zacchae/.guix-home/profile/bin/pass > After runing "guix package -i pinentry" > $ which -a pinentry > /home/zacchae/.guix-home/profile/bin/pinentry > /home/zacchae/.guix-profile/bin/pinentry > $ which -a gpg > /home/zacchae/.guix-home/profile/bin/gpg > $ which -a pass > /home/zacchae/.guix-home/profile/bin/pass > > I can easily reproduce the behavior by removing or installing pinentry wi= th > guix package. Paths behave as expected. Probably there are some hardcoded PATHs for .guix-profile, but not for .guix-home/profile. One of such examples, which can be unrelated to the current issue: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system.scm?h=3D7046e777= 212233b89df68379c270b448c45195ce#n1012 It will require investigation to find all the places, where and at what time PATH (and maybe some other env vars) is/are set for all the participants of the party to trace the root of the problem and properly solve it =3D) Anyway, there is a workaround, which should help: > > The gnupg home service from rde project goes a slightly other way and >> just sets pinentry-program to absolute path in the store. Such approach >> works with pass well, you can take a look at it for inspiration: >> >> https://git.sr.ht/~abcdw/rde/tree/master/item/gnu/home-services/gnupg.sc= m#L127 >> > I don't totally follow what's going on here, but maybe it will make more > sense later. Basically it adds the following content to gpg-agent.conf: =2D-8<---------------cut here---------------start------------->8--- enable-ssh-support=20 pinentry-program /gnu/store/r5j2gmfv8akp8p746l6jqy5qwpz0zkhm-pinentry-qt-1.= 2.0/bin/pinentry-qt =2D-8<---------------cut here---------------end--------------->8--- You can try to set pinentry-program to /home/zacchae/.guix-home/profile/bin/pinentry Or better directly use gnupg home service. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmLVBY8ACgkQIgjSCVjB 3rC5tg//eHdxf8mM301JLMIhXyfWoJZuV6Ry5gI6DU80wOUpiYYc6yD2VbupY0Sd Wo7O0maOlSuIUsYs8d2/usyOSPwcq7vHmRN3FU3j08Nt57k+ls3QxOA+M71rSQC7 98t+x3gTleBr4QVxbOSWI2w5GjyF0QDkJlXcvlD2y78+/hlDtqj/1cdJKhjhuq76 zYtobN7k7auQ3NXKie1oTPNHZ5k5LbHWrWMxCT7RaMHVukKjAwQiR8E7SR50mu4e cy4pyGidrGR+vDrGxWnKRX8d0hHb2hhvWJsx2nPCRkOOgV8eigG1jfu7ZDyyiKCm aO+JBhkwJDMU6ktjYnS2UD+AGf/YCitPZ/+23qMfLJ+6I8kmy6jBLQlwrTY2gnZu wnio3x4TXK0QCSD9SQ7DR03RBK+wxRnP7K4P2N01YXUYGtFdbGe8jWKg2tQMDKN7 hYPXODAXJ6XvBSLz4rvQAFZkCIfUVbuD3oeBYT3Qu/j4vKxUky8VxowMeNQuKjtX daGewTGWSeGezJyqw+8iZZgu8sybe68IbW5niz0ccTBO112h/13p9rGFqqL2NF4R gk0JEqHzRVZv8WEf18DJHFMfQ47ZXbcpYYZp6z0xuJEzvLKO16ukWPJaxlYy4F0v JnpJ/6uHbcl+JJqsFsJvDpGSXlIFAuIQwULk+34K2cu/h3QOSVY= =Tzm5 -----END PGP SIGNATURE----- --=-=-=--