Ubuntu unable to handle ssh keys with PBKDF

Bug #1464296 reported by cortocopy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Keyring
Fix Released
Medium
gnome-keyring (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Today I wanted to upgrade the security of my SSH keys to use PBKDF. After struggling with ssh-agent I realised that either Gnome Keyring was unable to handle the new ssh key or it was a problem with ssh-agent.

After troubleshooting historic bugs with ssh-agent I was unable to make it work. It always returned the error "Agent admitted failure to sign using the key on big endian machines"

The problem seems to be that Gnome Keyring is unable to handle the complex newly encoded passphrase.

Steps to reproduce:

1. Create a SSH key with PBKDF

ssh-keygen -b 4096 -o -a 500

2. Either overwrite or create new keys with default identity id_rsa
3. Protect it with a strong password (256-But Hex Key)
4. Delete previous keys stored by ssh-agent

ssh-add -D (for manual entries)
ssh-add -d (for automatic entries)

5. Reset ssh-agent to be extra confident that ssh-agent is not storing anything in memory

killall ssh-agent; eval `ssh-agent`

6. Add the new key

ssh-add

7. You may get an error when trying to use keys to ssh a server saying "Agent admitted failure to sign using the key on big endian machines"

Disabling ssh-agent means that I'm able to input password in console and use my private key. I can then log in to my server OK. So I don't think there are problems with the generation of keys either

About my machine:
Ubuntu 15.04

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1464296/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
cortocopy (cortocopy)
affects: ubuntu → gnome-keyring (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gnome-keyring (Ubuntu):
importance: Undecided → Low
cortocopy (cortocopy)
description: updated
Revision history for this message
cortocopy (cortocopy) wrote : Re: [Bug 1464296] Re: Ubuntu unable to handle ssh keys with PBKDF

Hello,

Thank you for addressing my bug. I've just submitted it to GNOME as
requested.

This is the reposted bug

https://bugzilla.gnome.org/show_bug.cgi?id=750986

Best wishes
Juan

On 11/06/15 17:50, Sebastien Bacher wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. The issue you are reporting is an upstream one and it
> would be nice if somebody having it could send the bug to the developers
> of the software by following the instructions at
> https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
> tell us the number of the upstream bug (or the link), so we can add a
> bugwatch that will inform us about its status. Thanks in advance.
>
> ** Changed in: gnome-keyring (Ubuntu)
> Importance: Undecided => Low
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks

Changed in gnome-keyring (Ubuntu):
status: New → Triaged
Changed in gnome-keyring:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gnome-keyring:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.