unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Issues with GPG Agent
@ 2025-01-03  2:18 Caleb Herbert
  2025-01-03  4:34 ` Caleb Herbert
  0 siblings, 1 reply; 2+ messages in thread
From: Caleb Herbert @ 2025-01-03  2:18 UTC (permalink / raw)
  To: help-guix

I'm having trouble authenticating over SSH with GPG Agent.  

https://opensource.com/article/19/4/gpg-subkeys-ssh

I've tried several commands to try and fix the issue.  My usual UPDATESTARTUPTTY trick won't work.

caleb@hermes ~/Projects/dotfiles$ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
caleb@hermes ~/Projects/dotfiles$ echo UPDATESTARTUPTTY | gpg-connect-agent
OK
caleb@hermes ~/Projects/dotfiles$ ssh-add -L
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7jxiM34nkIx7pcigyha1jhCnoDHOncDIcCqM5BeAg3V6ZEGKigGCQ2M3znRODV78xxHaH9/p1Hp1CMN05suWu2tacHn5pvQmksBHpW7mvp9BCqbrsE3uRS6/DkllHKZHAe+frsYqW8nRJmvNzB16/cdh0aXuESKnt5gXRrpu9gS6H+Jgef/R4rFh2mERXgnOmcGn/9CgeM9jIHFu38sobJMmpR/q/NGnGE+/5qdjHxr195UfQ8ycq3WjSUkpgovjK8/GKq30Ht4KDBEAPbWRHuguWcikeeJwLFt6XUMiH6FhkXh+epVIxMwimf6NEX/g8STTXU4UJRe4mJYbk4oGf (none)
caleb@hermes ~/Projects/dotfiles$ git push
sign_and_send_pubkey: signing failed for RSA "(none)" from agent: agent refused operation
git@codeberg.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
caleb@hermes ~/Projects/dotfiles$ 

By the way, pinentry does work with password-store's pass.

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

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

* Re: Issues with GPG Agent
  2025-01-03  2:18 Issues with GPG Agent Caleb Herbert
@ 2025-01-03  4:34 ` Caleb Herbert
  0 siblings, 0 replies; 2+ messages in thread
From: Caleb Herbert @ 2025-01-03  4:34 UTC (permalink / raw)
  To: help-guix

Solved:

$ gpg-connect-agent updatestartuptty /bye >/dev/null

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

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

end of thread, other threads:[~2025-01-03  4:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03  2:18 Issues with GPG Agent Caleb Herbert
2025-01-03  4:34 ` 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).