smallperson / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Unable to convert pubkey to OpenSSH format #395

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy key to clipboard
2. Send in email
3. Attempt to convert key to OpenSSH format using ssh-keygen

What is the expected output? What do you see instead?
$ ssh-keygen -i -f Key.eml
buffer_get_string_ret: bad string length 1936943149
key_from_blob: can't read key type
decode blob failed.
$ 

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
Android version, 1.7.1 2010.10.08

What type of system are you trying to connect to?
Linux.

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?
No problem connecting via password, but I need to connect via key

Please provide any additional information below.
I tried converting two versions of the exported key file.  In 1st version, I 
removed garbage lines before and after key, collapsed all actual key lines into 
a single line, and finally removed CR/LF.  In 2nd version, I removed garbage 
lines before and after and replaced all CR/LF with NL

Please describe actual format in FAQ

FAQ only mentions some putty tool to decode.  Please add references to standard 
tools, *especially* given the reference above to uname(1).

Original issue reported on code.google.com by d...@speakeasy.net on 24 Nov 2010 at 6:43

GoogleCodeExporter commented 9 years ago
PEBKAC

DELETE THIS ERROR REPORT

Original comment by d...@speakeasy.net on 24 Nov 2010 at 7:01