Re: RSA sign with MD5 encryption (General questions)

by Jasmine, (7447 days ago) @ Jasmine

We made a mistake. wodCert.PublicKey property does not return same data as wodKeys.PublicKey (well, at least not for RSA keys). In order to avoid problems, wodCrypt.SecretKey now (since version 1.2.2) accepts contents of PublicKeyOpenSSH properties - meaning OpenSSH public keys. Even better - these are ASCII (base64) values so you can even keep them in your applications.

So, from now on you can open CER file with wodCertificate (shipped with wodCrypt since this version), and do

wodCrypt.SecretKey = wodCertificate.PublicKeyOpenSSH

and it will work.

Hope I helped!

locked

Complete thread: