Re: Connection Issue - WeOnlyDo Discussion board

Re: Connection Issue (General questions)

by scots, Monday, November 21, 2011, 14:18 (4761 days ago) @ woddrazen

Hi,


If you want to save it to a file. You can copy received string from PublicKeyOpenSSH and paste it to some new created file and save it.

Can you try that maybe?

You can find here example how to generate and save private and public key with wodCertificate:
http://www.weonlydo.com/index.asp?kb=1&View=entry&EntryID=51


Drazen

most of the operations on public keys... are properties.. and not methods / functions.
I tried to see if I could display the public key..
but, it doesn't appear to feed into a string field

ole_cer = CREATE oleobject
ole_cer.ConnectToNewObject( WeOnlyDo.Certificate.1 )

ole_cer.generatekey(0)
ole_cer.savekey(f_path)

key_value = ole_cer.publickey
messagebox('error',key_value)
ole_cer.export(f_path2)

ok... think I found it... using publickeyrsa1 or publickeyssh which will convert into a string


Complete thread: