On Mar 23, 2009, at 6:26 AM, edgarsmolow wrote:

That produced this error:
BeakerException: pycryptopp is not installed, can't use encrypted
cookie-only Session.

But, the docs (http://pylonshq.com/docs/en/0.9.7/sessions) seem to say
that either Python 2.5 or pycriptopp would be sufficient:

"The key to use for the session encryption, if not provided the
session will not be encrypted. This will only work if a strong hash
scheme is available, such as pycryptopp’s or Python 2.5’s
hashlib.sha256."

Running on this workstation with Python 2.5.2.
Why is an error still produced?

The docs are inaccurate in this case, I'll update them to fix this bug. Encryption does require pycryptopp, while the session *signature* that ensures its integrity so it can't be tampered with requires a normal Python sha library which works on Python 2.4 and up.

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to