EldoS | Feel safer!

Software components for data protection, secure storage and transfer

loading private keys does not work?

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#5400
Posted: 03/13/2008 07:11:05
by aljaz (Standard support level)
Joined: 01/10/2008
Posts: 18

Hi.

I can't load private key:

Code
Dim Key As TElSSHKey = New TElSSHKey
Dim key1 As TElSSHKey = New TElSSHKey
MsgBox(Key.Generate(SBSSHKeyStorage.Unit.ALGORITHM_RSA, 1024))
MsgBox(Key.SavePrivateKey("server_key.asc", "aaa"))
MsgBox(key1.LoadPrivateKey("server_key.asc", "aaa"))


First two messages return 0, third messages box gives result 3330 - private key is invalid.

Why?
#5401
Posted: 03/13/2008 07:18:01
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. Could you attach that file server_key.asc?
#5402
Posted: 03/13/2008 07:23:17
by aljaz (Standard support level)
Joined: 01/10/2008
Posts: 18

Quote
Mykola Olshevsky wrote:
Hi. Could you attach that file server_key.asc?


Attached.


[ Download ]
#5403
Posted: 03/13/2008 09:18:04
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Thanks for the file. Really, problem persists. We need some time to look deeper into it. You could use kfPuTTY key format during that time for your tests, it works ok.

Reply

Statistics

Topic viewed 2019 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!