SSH keys cannot be imported

Bug #321997 reported by Fabián Rodríguez
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
seahorse
Fix Released
High
seahorse (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: seahorse

When copying any public key from Launchpad directly in the "Trusted keys" tab, the key is somehow changed or interpreted as an OpenPGP key.

When trying to import it via the "File/Import" dialog in Ubuntu version 8.04, there is an "Invalid file format" error. The file which was tried to be imported was saved using the "Save this page" feature in Firefox when displaying public keys in Launchpad.

When trying to import it via the "File/Import" dialog in Ubuntu version 8.10, 10.04 or 10.10; the process silently fails.

This bug may be related with #150654 and #230537.

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

Thank you for your bug report, the issue is similar to http://bugzilla.gnome.org/show_bug.cgi?id=556670

Changed in seahorse:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in seahorse:
status: Unknown → New
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It also affect private SSH keys.

summary: - Can't import public SSH keys with Seahorse
+ SSH keys cannot be imported
description: updated
description: updated
Changed in seahorse:
importance: Unknown → High
status: New → Fix Released
description: updated
summary: - SSH keys cannot be imported
+ Corrupt SSH key generation
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Sorry, I changed some things that where actually right. Now is ok again.

summary: - Corrupt SSH key generation
+ SSH keys cannot be imported
description: updated
description: updated
Revision history for this message
Pavel (pav-kravtsov) wrote :

This bug is also reproduced in Ubuntu 14.04.
1) Open "Passwords and Keys".
2) Select some SSH key in "OpenSSH keys" tab.
3) Choose "Export..." in menu and then store exported file somewhere.
4) Then choose "Import..." and try to select file created on step (3). You will see:

Data to be imported:
<key-name>
Could not display '<key-name>'
Reason: Cannot display a file of this type.

tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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