Bug 921513 - Agent admitted failure to sign using the key.
Summary: Agent admitted failure to sign using the key.
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-keyring
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-14 11:00 UTC by Martin Stransky
Modified: 2016-02-10 14:42 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
: 1225164 (view as bug list)
Environment:
Last Closed: 2016-01-26 09:34:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Stransky 2013-03-14 11:00:29 UTC
Gnome keyring dialog is not open when I try to connect fedora servers with locked ssh keys. gnome-keyring seems to be up.

[komat@dhcp129-206 CVS]$ ps axf | grep gnome-keyring
 1617 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 3763 pts/0    S+     0:00      \_ grep --color=auto gnome-keyring

Comment 1 Martin Stransky 2013-03-14 11:03:16 UTC
[komat@dhcp129-206 CVS]$ ssh -v stransky.org
OpenSSH_6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/komat/.ssh/config
debug1: /home/komat/.ssh/config line 6: Applying options for *.fedoraproject.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 50: Applying options for *
debug1: Connecting to people.fedoraproject.org [2610:28:3090:3001:5054:ff:fedb:7f5a] port 22.
debug1: connect to address 2610:28:3090:3001:5054:ff:fedb:7f5a port 22: Network is unreachable
debug1: Connecting to people.fedoraproject.org [152.19.134.191] port 22.
debug1: Connection established.
debug1: identity file /home/komat/.ssh/id_rsa_fedora type 1
debug1: identity file /home/komat/.ssh/id_rsa_fedora-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 07:d4:02:db:9f:70:d5:2d:7f:1b:6a:df:83:73:95:1d
debug1: Host 'people.fedoraproject.org' is known and matches the RSA host key.
debug1: Found key in /home/komat/.ssh/known_hosts:45
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/komat/.ssh/id_rsa_fedora
debug1: Server accepts key: pkalg ssh-rsa blen 279
Agent admitted failure to sign using the key.
debug1: Offering RSA public key: komat.redhat.com
debug1: Authentications that can continue: publickey
debug1: Offering DSA public key: komat@triglav
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: komat@localhost
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).

Comment 2 Martin Stransky 2013-03-14 11:07:13 UTC
It looks like a race condition or so. The gnome-keyring dialog is open after 3-5 attempts.

Comment 3 Stef Walter 2013-03-19 21:18:54 UTC
Are you able to test this patch to see if it fixes the issue: https://git.gnome.org/browse/gcr/commit/?id=f25cc328066e7b6a7f960aea38ab6beb6f967a42

Comment 4 Fabrice Bellet 2013-03-27 22:12:14 UTC
I also notice the same problem :
  - the bug occurs for me with gnome3 in fallback mode only.
  - in fallback mode, the bug is specific to gcr-3.6.2-3.fc18 (downgrading to 3.6.2-1 works)
  - patch from comment #3 doesn't solve the bug

Comment 5 Peter Meier 2013-04-13 15:09:52 UTC
I can confirm this bug. It also affects gpg keys in thunderbird and so on. Usually trying multiple times allow one to workaround the race condition, but it's quite annoying.

I haven't tested if the patch works.

Comment 6 Thomas Moschny 2013-05-08 11:53:17 UTC
Same Problem here

With gcr-3.6.2-3.fc18, the key was *never* unlocked, regardless how often I tried. Downgrading to 3.6.2-1.fc18 helps in so far, as with the older version trying multiple times eventually helps.

Comment 7 Fedora End Of Life 2013-12-21 12:08:27 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2014-02-05 19:57:31 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Jan Kurik 2015-12-22 11:28:14 UTC
This bug is currently assigned to an unsupported release. If you think this bug is still valid and should remain open, please re-assign it to a supported release (F22, F23) or to rawhide.

Bugs which will be assigned to an unsupported release are going to be closed as EOL (End Of Life) on January 26th, 2016.


Note You need to log in before you can comment on or make changes to this bug.