From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MB0YNhqAwmKaUgAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 07:52:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4OTrNRqAwmLhQwEAauVa8A (envelope-from ) for ; Mon, 04 Jul 2022 07:52:26 +0200 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 868D02E6DD for ; Mon, 4 Jul 2022 07:52:26 +0200 (CEST) Received: from localhost ([::1]:59944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8F0S-0001W0-SD for larch@yhetil.org; Mon, 04 Jul 2022 01:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8F06-0001Vn-NS for bug-guix@gnu.org; Mon, 04 Jul 2022 01:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8F06-0006A1-CR for bug-guix@gnu.org; Mon, 04 Jul 2022 01:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8F06-00084x-8V for bug-guix@gnu.org; Mon, 04 Jul 2022 01:52:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656913946; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=YCB5b8YWcAgYyoY1JIyHihZz8axz2CTYQ96G/8feRMI=; b=eyJmvhY8AP7SsgwO2r9rVQHpKkP+7XKUElWKxHJRefvUbOxFb34QjBXYZIKJKHDMMNtmgo QwfMHsPHpaHNXIeqqHcUWftqzH30bjT2S7mtj1xBo1/6WViOVGlFCXE1YYQHzo0D83Vmwu Bz4aistsPBmdAf92KW+dmjzp6YXmB8ir5Hxu3oX5GFe8i+DX3B+/IzcwE0MDzA1T2IEWQt FXpL1f41M6iqhq+bRpuTKnTlfY6asxenyhBJlwrb/6wI6j1YCsAQO3WETKSPLyb5iZ1nzZ y8ahKJviSJkC/szJl6bapLxCMbJtlcb+fq00RVXN6qIL2W44m8vVTGk2A+e6og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656913946; a=rsa-sha256; cv=none; b=Sr1p0AJnaf+lxtNEu3+t9PpOrbzoZ248JygxJGV5ht4kSaD/dBhuEeTnGybUJz9GLVCIbS Ciad5bT44GRtgDclfk3QhPgDJ0EXdZRD5lAn9lLadcmEH17TgXeEHchxt7wcR4ulTHywr3 7KHXRf1sh9SabFquqqvoGhAp8spTJGoC2Bz7+WPB00j75Ny7+hm9T/3FK9Rf7jn+K8VZDV 3QgxcELmyTgpXPzSi68KDymBuPpr5MNGv1+H49LieKx/Ep3Jqxb0Rz7sVk9JQM+8kyxFxb TR1xHgTaODobouiHLTeTzZoMnaJ29M6VI120AxcDqWQBcAj0tcoUraTLDyLatw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=HRmyy6nn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=HRmyy6nn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 868D02E6DD X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: oYa7VqYR2mr/ --=-=-= 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----- --=-=-=--