Antoine Pitrou <pit...@free.fr> added the comment:

I've taken a quick look at the source tree (there doesn't seem to be any 
separate docs) and here is my opinion:
- the evp.py API is too low-level (it's a one-to-one mapping to the OpenSSL C 
API); we would want at least some kind of object-oriented abstraction around 
the basic concepts (such as in the hashlib and ssl modules) rather than passing 
opaque pointers around
- the other APIs (cipher.py, envelope.py, signature.py) look conversely too 
high-level, since they focus on specific use cases and make some arbitrary 
choices for the user (for example, envelope.py imposes AES-192)

By the way, the use of function signature annotations to mirror C APIs as 
Python APIs through ctypes is nice, perhaps you should upload it as a separate 
library on PyPI :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to