Unable to import SSH key

Bug #1805548 reported by Jonathan Tran
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Invalid
Undecided
Unassigned

Bug Description

I'm trying to import an SSH key to use with Ubuntu Core but when I paste my public key, I get the following message

Invalid SSH key data: '<contents of id_rsa.pub>'

Jonathan Tran (jmtran)
description: updated
Revision history for this message
Daniel Manrique (roadmr) wrote :

I see you have elided the contents of your id_rsa.pub, but on the original report you had shown something similar to this:

Invalid SSH key data: 'ssh-rsa SOME_BASE_64_PAYLOAD'

The problem I think I see is that this is missing one component/comment at the end. Something like this works:

ssh-rsa SOME_BASE_64_PAYLOAD some-identifier

now - a key with no comment is valid generally, but Launchpad/SSO does require it. Note that a comment-less key has to be generated with ssh-keygen -C '' (explicit empty comment), so it's not very common.

You can just append an arbitrary identifier to the end to conform to the expected format.

Changed in canonical-identity-provider:
status: New → Invalid
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.