GNU bug report logs -
#33165
GNOME keyring SSH agent => sign_and_send_pubkey: signing failed: agent refused operation
Previous Next
To reply to this bug, email your comments to 33165 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#33165
; Package
guix
.
(Fri, 26 Oct 2018 15:22:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Henk Katerberg <henk.katerberg <at> verum.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 26 Oct 2018 15:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On GuixSD running Gnome: the command 'ssh <remote>' results in error
sign_and_send_pubkey: signing failed: agent refused operation
and then falls back to password authentication.
(Work-around is to manually start the openssh agent 'eval $(ssh-agent)' after which 'ssh <remote>' is successfull. From this I conclude that the key pair used and the .ssh/config entry for <remote> are OK.)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33165
; Package
guix
.
(Fri, 30 Nov 2018 02:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 33165 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Henk Katerberg <henk.katerberg <at> verum.com> writes:
> On GuixSD running Gnome: the command 'ssh <remote>' results in error
> sign_and_send_pubkey: signing failed: agent refused operation
> and then falls back to password authentication.
>
> (Work-around is to manually start the openssh agent 'eval
> $(ssh-agent)' after which 'ssh <remote>' is successfull. From this I
> conclude that the key pair used and the .ssh/config entry for <remote>
> are OK.)
This sounds a lot like the issue I describe in my blog post here:
https://www.gnu.org/software/guix/blog/2018/customize-guixsd-use-stock-ssh-agent-everywhere/
From the blog post:
"Unfortunately, up until GNOME 3.28 (the current release), the GNOME
Keyring's SSH agent implementation was not as complete as the stock SSH
agent from OpenSSH. As a result, earlier versions of GNOME Keyring did
not support many use cases. This was a problem for me, since GNOME
Keyring couldn't read my modern SSH keys.
[...]
Happily, starting with GNOME 3.28, GNOME Keyring delegates all SSH agent
functionality to the stock SSH agent from OpenSSH. They have removed
their custom implementation entirely. This means that today, I could
solve my problem simply by using the most recent version of GNOME
Keyring. I'll probably do just that when the new release gets included
in Guix. However, when I first encountered this problem, GNOME 3.28
hadn't been released yet, so the only option available to me was to
customize GNOME Keyring or remove it entirely."
Since your work-around was the same as mine - use the stock OpenSSH
ssh-agent - you might find the blog post useful for your situation.
The version of GNOME currently packaged in Guix is 3.24.3 (see
gnu/packages/gnome.scm). Because GNOME Keyring just wrap's OpenSSH's
ssh-agent starting with GNOME 3.28, it seems likely that upgrading to
GNOME 3.28 or later will fix your issue. If your problem continues to
occur even after Guix has upgraded GNOME to 3.28 or later, then we will
need to investigate more.
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33165
; Package
guix
.
(Fri, 30 Nov 2018 03:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 33165 <at> debbugs.gnu.org (full text, mbox):
Chris Marusich <cmmarusich <at> gmail.com> writes:
> The version of GNOME currently packaged in Guix is 3.24.3 (see
> gnu/packages/gnome.scm). Because GNOME Keyring just wrap's OpenSSH's
> ssh-agent starting with GNOME 3.28, it seems likely that upgrading to
> GNOME 3.28 or later will fix your issue. If your problem continues to
> occur even after Guix has upgraded GNOME to 3.28 or later, then we will
> need to investigate more.
Just FYI: we have an upgrade to GNOME 2.28 on a separate branch that’s
waiting for the core-updates branch to be merged.
--
Ricardo
This bug report was last modified 6 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.