GNU bug report logs - #74548
gnupg cannot use pinentry

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Tue, 26 Nov 2024 20:13:02 UTC

Severity: normal

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Howard <christopher <at> librehacker.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74548: closed (gnupg cannot use pinentry)
Date: Fri, 29 Nov 2024 18:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 29 Nov 2024 09:01:44 -0900
with message-id <8734j92a2f.fsf <at> librehacker.com>
and subject line Re: bug#74548: gnupg cannot use pinentry
has caused the debbugs.gnu.org bug report #74548,
regarding gnupg cannot use pinentry
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74548: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74548
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Howard <christopher <at> librehacker.com>
To: bug-guix <at> gnu.org
Subject: gnupg cannot use pinentry
Date: Tue, 26 Nov 2024 11:12:01 -0900
Something changed recently (last system reconfigure?) where the 'pass' software broke for me, apparently because gnupg is not finding pinentry, or not using it correctly for some reason.

```
christopher <at> theoden ~$ pass gatecode 
gpg: decryption failed: No secret key
christopher <at> theoden ~$ cd .password-store/
christopher <at> theoden ~/.password-store$ gpg -d gatecode.gpg 
gpg: encrypted with 3072-bit RSA key, ID F80E1B3D662D41E9, created 2021-12-14
      "Christopher Howard (pass) <christopher <at> librehacker.com>"
gpg: public key decryption failed: No pinentry
gpg: decryption failed: No secret key
```

I can work around this like so:

```
christopher <at> theoden ~/.password-store$ gpg --pinentry-mode loopback -d gatecode.gpg
<...asks for passcode on command line...>
gpg: encrypted with 3072-bit RSA key, ID F80E1B3D662D41E9, created 2021-12-14
      "Christopher Howard (pass) <christopher <at> librehacker.com>"
<...snipped for confidentiality...>
```

After this, I can then run pass for a little while, as credentials are cached or however that works. 

I might try a rollback or something and see if I can isolate this issue. Pinentry itself is available:

```
christopher <at> theoden ~$ which pinentry
/home/christopher/.guix-home/profile/bin/pinentry
```

``` guix describe
Generation 153	Nov 20 2024 09:29:24	(current)
  guix 804f8b2
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 804f8b2094f3214c5b129047c1b18a7779720496
```

Here is my system information:

```
christopher <at> theoden 
------------------- 
OS: Guix System x86_64 
Host: OptiPlex 9020 00 
Kernel: 6.11.8-gnu 
Uptime: 5 days, 1 hour, 14 mins 
Packages: 159 (guix-system) 
Shell: bash 5.1.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: launch-local-em 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
GPU: Intel HD Graphics 
Memory: 3343MiB / 15907MiB 
```

-- 
馃摏 Christopher Howard
馃殌 gemini://gem.librehacker.com
馃寪 http://gem.librehacker.com

讘专讗砖讬转 讘专讗 讗诇讛讬诐 讗转 讛砖诪讬诐 讜讗转 讛讗专抓


[Message part 3 (message/rfc822, inline)]
From: Christopher Howard <christopher <at> librehacker.com>
To: Rodion Goritskov <rodion.goritskov <at> gmail.com>
Cc: 74548-done <at> debbugs.gnu.org
Subject: Re: bug#74548: gnupg cannot use pinentry
Date: Fri, 29 Nov 2024 09:01:44 -0900
After adding the home service for gnupg as recommended (but with -gnome3) everything seems to be working great. Thanks!

-- 
Christopher Howard


This bug report was last modified 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.