ikariiin / connectbot

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

Problem parsing imported private key #634

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import ssh key
2. Copy puttygen's openssh ssh key
3. Any combination of

What is the expected output? What do you see instead?

Key imported.  Instead of 'Problem parsing imported private key'

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

ConnectBot 1.7.1 (v.1.7.1-87-g598fb42 2013.01.05

What type of system are you trying to connect to?

n/a

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

Please provide any additional information below.

logcat error:
E/ConnectBot.PubkeyListActivity( 5171): Problem parsing imported private key
E/ConnectBot.PubkeyListActivity( 5171): java.lang.NullPointerException
E/ConnectBot.PubkeyListActivity( 5171):     at 
org.connectbot.bean.PubkeyBean.getValues(PubkeyBean.java:213)
E/ConnectBot.PubkeyListActivity( 5171):     at 
org.connectbot.util.PubkeyDatabase.savePubkey(PubkeyDatabase.java:311)
E/ConnectBot.PubkeyListActivity( 5171):     at 
org.connectbot.PubkeyListActivity.readKeyFromFile(PubkeyListActivity.java:562)
E/ConnectBot.PubkeyListActivity( 5171):     at 
org.connectbot.PubkeyListActivity.onActivityResult(PubkeyListActivity.java:496)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.Activity.dispatchActivityResult(Activity.java:5293)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.ActivityThread.deliverResults(ActivityThread.java:3439)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.ActivityThread.handleSendResult(ActivityThread.java:3486)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.ActivityThread.access$1100(ActivityThread.java:150)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.os.Looper.loop(Looper.java:137)
E/ConnectBot.PubkeyListActivity( 5171):     at 
android.app.ActivityThread.main(ActivityThread.java:5191)
E/ConnectBot.PubkeyListActivity( 5171):     at 
java.lang.reflect.Method.invokeNative(Native Method)
E/ConnectBot.PubkeyListActivity( 5171):     at 
java.lang.reflect.Method.invoke(Method.java:511)
E/ConnectBot.PubkeyListActivity( 5171):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/ConnectBot.PubkeyListActivity( 5171):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/ConnectBot.PubkeyListActivity( 5171):     at 
dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by mosin.k...@gmail.com on 24 Jan 2013 at 4:18

GoogleCodeExporter commented 9 years ago
Forgot to add, the October 8, 2010 version on the Play Store imports them fine.

Original comment by mosin.k...@gmail.com on 24 Jan 2013 at 4:54