From: Caleb Herbert <csh@bluehome.net>
To: <help-guix@gnu.org>
Subject: Issues with GPG Agent
Date: Thu, 02 Jan 2025 18:18:53 -0800 (PST) [thread overview]
Message-ID: <1735870733.10457@bluehome.net> (raw)
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/
next reply other threads:[~2025-01-03 2:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 2:18 Caleb Herbert [this message]
2025-01-03 4:34 ` Issues with GPG Agent Caleb Herbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1735870733.10457@bluehome.net \
--to=csh@bluehome.net \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).