Cannot register ECDSA or Ed25519 SSH keys

Bug #1282220 reported by Casey Marshall on 2014-02-19
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

I'd like to register my ECDSA and Ed25519 SSH client public keys with Launchpad, so that I can distribute them to my servers and cloud instances with ssh-import-id. However, Launchpad does not accept these as valid keys.

Casey Marshall (cmars) wrote :

Steps to reproduce:
1. Create an ECC key pair with: "ssh -t ed25519" or "ssh -t ecdsa"
2. cat ~/.ssh/id_ed25519.pub or ~/.ssh/id_ecdsa.pub
3. Attempt to add these to your Launchpad profile.

Problem:
Launchpad shows an error that the public key is invalid.

Expected result:
ECC key added to my profile.

Celso Providelo (cprov) on 2014-02-19
tags: added: ssh
Changed in launchpad:
status: New → Confirmed
importance: Undecided → Wishlist
William Grant (wgrant) on 2014-02-19
Changed in launchpad:
importance: Wishlist → Low
tags: added: feature soyuz-security
tags: added: security
removed: soyuz-security
Dustin Kirkland  (kirkland) wrote :

Launchpad should use 'ssh-keygen -l -f foo' to verify the sanity of the key. And assuming that passes, it should accept the key.

That would additional solve several other nasty situations where Launchpad actually *accepts* keys that have line breaks in them. The above command would catch those and reject them.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers