EVP.Cipher interface support

Asked by André Cruz on 2013-08-27


I was wondering if supporting the EVP.Cypher interface of OpenSSL is in the roadmap, since the other alternative (M2Crypto) seems to be unmaintained.


Question information

English Edit question
pyOpenSSL Edit question
No assignee Edit question
Solved by:
Jean-Paul Calderone
Last query:
Last reply:
Best Jean-Paul Calderone (exarkun) said : #1

It is not presently on the roadmap.

André Cruz (andrefcruz) said : #2

Thanks Jean-Paul Calderone, that solved my question.

What exactly are you using this for? If you want to digest data with some basic hash algorithm you can just use hashlib, if you need more fancy algorithms, have a look at PyCrypto (never used it myself, though).

André Cruz (andrefcruz) said : #4

I need to use AES 128 in Counter mode.

PyCrypto is too slow for me, around 20x slower than my altered M2Crypto implementation (I had to include the export symbols for the CTR mode, which M2Crypto does not have and looks like it never will).

Glyph Lefkowitz (glyph) said : #5

André, you could always file a bug asking for this feature, potentially attaching a patch... :)

André Cruz (andrefcruz) said : #6

Well, I have tried that route: https://code.launchpad.net/~andrefcruz/pyopenssl/pyopenssl/+merge/105954

But if there is no interest from the maintainers there is no use in sending a patch. Anyway, I have contacted M2Crypto's author and it seems there will be a new maintainer soon. So, all is well.


Jean-Paul Calderone (exarkun) said : #7

I'm sorry that the work I did to write unit tests for your code and fix several bugs in it appeared like "no interest" to you. I hope that you have more luck with M2Crypto.