Cannot register ECDSA or Ed25519 SSH keys

Bug #1282220 reported by Casey Marshall
This bug report is a duplicate of:  Bug #907675: Add support for Ed25519 SSH keys. Edit Remove
68
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Confirmed
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.

Revision history for this message
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)
tags: added: ssh
Changed in launchpad:
status: New → Confirmed
importance: Undecided → Wishlist
William Grant (wgrant)
Changed in launchpad:
importance: Wishlist → Low
tags: added: feature soyuz-security
tags: added: security
removed: soyuz-security
Revision history for this message
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.

Muhammadali (ali7373)
Changed in launchpad:
status: Confirmed → Invalid
Colin Watson (cjwatson)
Changed in launchpad:
status: Invalid → Confirmed
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.