After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533414 - Fails to provide SSH keys to SSH on PowerPC (or general big endian?)
Fails to provide SSH keys to SSH on PowerPC (or general big endian?)
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
git master
Other Linux
: Normal critical
: 2.28
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-05-16 06:52 UTC by Sebastian Dröge (slomo)
Modified: 2011-03-09 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-05-16 06:52:57 UTC
Hi,
with seahorse 2.22 it's impossible to use the ssh-agent functionality of seahorse on PowerPC machines (or maybe all big endian).

See https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786


The same key and server works with the same configuration on x86.
Comment 1 Sebastian Dröge (slomo) 2008-05-16 06:57:50 UTC
So apparently the SSH agent functionality is in gnome-keyring now ;)
Comment 2 Sebastian Dröge (slomo) 2008-05-16 07:02:01 UTC
Also it works fine on PPC when disabling the SSH functionality of gnome-keyring OR when starting a new gnome-keyring (current one is started via PAM/GDM) and using the new SSH_AUTH_SOCK.
Comment 3 Sebastian Dröge (slomo) 2008-05-16 08:10:25 UTC
Ok, it fails in
ssh/gkr-ssh-daemon.ops.c at line 444
        gcry = gcry_pk_sign (&ssig, sdata, s_key);

The return value is GPG_ERR_INV_OBJ, i.e. "Invalid Object".

Any ideas? :)
Comment 4 Mourad De Clerck 2008-05-20 21:24:01 UTC
Small data point - I see the same bug on Debian PPC.
Comment 5 Stef Walter 2008-05-26 16:01:05 UTC
This is going to be a tough one for me to fix without a PPC machine or big endian machine. But I'll try my best. Any help is welcome.
Comment 6 Mourad De Clerck 2008-05-26 18:21:58 UTC
Maybe obvious, but there's always QEMU with a PowerPC target - last time I tried it, it worked pretty well, albeit slow of course.
Comment 7 Stef Walter 2009-03-05 03:47:12 UTC
I'm sorry that I didn't get to this for 2.26.x versions. I'd really love to fix it, and test it. I just haven't had a chance to get things all setup. On the other hand much of the SSH agent code was refactored, and this may have fixed itself. But that's a long shot :)
Comment 8 Jon Dowland 2009-05-09 07:41:36 UTC
If this is still broken for people, one thing I'd think was worth trying would be to generate some ssh keys on the PPC, confirm they don't work with gnome-keyring on PPC, then try those same keys on another architecture (x86). Then do the reverse: generate a keypair on x86, confirm they work then try them on PPC.
Comment 9 Stef Walter 2009-06-26 17:07:44 UTC
Yes, that's a good idea. 

Another fix also just went into gnome-2-26 branch which had to do with bit lengths, and may have fixed this problem. See bug #576700
Comment 10 Stef Walter 2011-03-09 16:54:31 UTC
No response, closing.