[Zope] Problems with the encryption

Jan-Frode Myklebust janfrode@parallab.uib.no
Thu, 20 Sep 2001 11:04:23 +0200


> 
> I don't know why i can't import "des", in spite of i have the Manager
> role.
> 

Most likely because 'des' might not be available in
python on all platforms. If you trus the module is
safe (should be), then you can add it by editing
lib/python/Products/GlobalModules/__init__.py.

Should look something like:

from Products.PythonScripts.Utility import allow_module, allow_class
from AccessControl import ModuleSecurityInfo, ClassSecurityInfo
from Globals import InitializeClass
allow_module('crypt')

And maybe restart your zoe-server..


  -jf