EVP.Cipher interface support

Asked by André Cruz

Hello.

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

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
pyOpenSSL Edit question
Assignee:
No assignee Edit question
Solved by:
Jean-Paul Calderone
Solved:
Last query:
Last reply:
Revision history for this message
Best Jean-Paul Calderone (exarkun) said :
#1

It is not presently on the roadmap.

Revision history for this message
André Cruz (andrefcruz) said :
#2

Thanks Jean-Paul Calderone, that solved my question.

Revision history for this message
Erik Trauschke (erik-trauschke) said :
#3

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).

Revision history for this message
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).

Revision history for this message
Glyph Lefkowitz (glyph) said :
#5

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

Revision history for this message
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.

Thanks.

Revision history for this message
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.