unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix Home: SSH won't ask for GPG password
@ 2023-10-05 16:18 Caleb Herbert
  2023-10-05 20:26 ` Maxim Cournoyer
  2023-10-05 22:29 ` Aleksandr Vityazev
  0 siblings, 2 replies; 7+ messages in thread
From: Caleb Herbert @ 2023-10-05 16:18 UTC (permalink / raw)
  To: help-guix

Guix System.

In home-configuration.scm:
(service home-gpg-agent-service-type
		  (home-gpg-agent-configuration
		   (pinentry-program
		    (file-append pinentry-gnome3 "/bin/pinentry"))
		   (ssh-support? #t)))

caleb@bender ~$ ssh csh@tty.sdf.org
csh@tty.sdf.org's password: 

This shouldn't happen. Pinentry should come up and ask me for my GPG password.

gpg-agent.conf looks normal.

caleb@bender ~$ cat /home/caleb/.gnupg/gpg-agent.conf 
pinentry-program /gnu/store/6rlqjdc9ginn4gnkwg8mhqwm015phhrm-pinentry-gnome3-1.2.1/bin/pinentry
default-cache-ttl 600
max-cache-ttl 7200
default-cache-ttl-ssh 1800
max-cache-ttl-ssh 7200
caleb@bender ~$ 

What am I missing?

-- 
Caleb
https://bluehome.net/csh/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Guix Home: SSH won't ask for GPG password
@ 2023-10-05 20:54 Caleb Herbert
  2023-10-06 12:53 ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Caleb Herbert @ 2023-10-05 20:54 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: help-guix

Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote ..
> I now use the canonical 'pinentry' package, which seems most featureful.

Changed to plain "pinentry".

(service home-gpg-agent-service-type                         
                  (home-gpg-agent-configuration                       
                   (pinentry-program                                  
                    (file-append pinentry "/bin/pinentry"))           
                   (ssh-support? #t)))


I still get an error when trying to reconfigure. 

Loading /gnu/store/2hwp7i1xn24rlsnwmcc8hpbdynznv4an-shepherd.conf.
herd: error: exception caught while executing 'load' on service 'root':
In procedure fport_write: Input/output error
Comparing /gnu/store/3jphbp9sisp54nshd8dimrnn4lks3p4d-home/profile/share/fonts and
          /gnu/store/vkkl9ymxkcq5a72z42rm4yx573k0wk1f-home/profile/share/fonts... done (same)
Evaluating on-change gexps.

On-change gexps evaluation finished.


-- 
Caleb
https://bluehome.net/csh/
-- 
Caleb
https://bluehome.net/csh/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-09 10:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-05 16:18 Guix Home: SSH won't ask for GPG password Caleb Herbert
2023-10-05 20:26 ` Maxim Cournoyer
2023-10-05 22:29 ` Aleksandr Vityazev
2023-10-06  0:12   ` Caleb Herbert
  -- strict thread matches above, loose matches on Subject: below --
2023-10-05 20:54 Caleb Herbert
2023-10-06 12:53 ` Maxim Cournoyer
2023-10-07  1:35   ` Caleb Herbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).