I successfully managed to do what I wanted using ncrypt ( ). Successfully imported an RSA key, but had real problem decrypting because eqP圜rypto doesn't support the AES block cipher. ![]() Unbound method importKey() must be called with key instance as firstĬan somebody suggest how I read a key in using ezP圜rypto? I've also tried: key(key, passphrase='PASSPHRASE')ĮDIT: Just an update on this. MyKey in my case is an OpenSSL RSA public/private keypair represented as a string. I've taken a look at ezP圜rypto, but can't seem to get it to recognise an OpenSSL RSA key, I've tried importing a key with importKey as follows: key.importKey(myKey, passphrase='PASSPHRASE') ![]() Does anyone know the simplest way to import an OpenSSL RSA private/public key (using a passphrase) with a Python library and use it to decrypt a message.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |