[Zope] "No module named rotor"

Andreas Jung lists at zopyx.com
Tue Mar 14 14:48:02 EST 2006



--On 14. März 2006 14:43:52 -0500 Jeff Gentry <jgentry at jimmy.harvard.edu> 
wrote:

>> Rotor was removed form python for a variety of reasons (see the
>> mailing list archives) but one of them was that it's a terrible way to
>> do any sort of encryption.  There are numberous python extensions that
>> do encryption and decryption which could be incorporated into your
>> product.  Alternatively, you can add rotor as a python script into
>> your product-- and interesting programming project <smile.
>
> As I said elsewhere, I am not doing any encryption.  I get the same error
> using the sample ZooExhibit product in the 2.7 book.  My error is coming
> from Zope files as near as I can tell.  Until yesterday evening I had
> never heard of the rotor module. :)  Actually I just downloaded the 2.9.1
> tarball and there are references to rotor in there as well:
>
> [jgentry at berlioz App]$ pwd
> /home/jgentry/Zope-2.9.1/Dependencies/App-Zope-2.9.1/App
> [jgentry at berlioz App]$ grep rotor *
> Extensions.py:        import rotor
> Extensions.py:            rotor.newrotor(prod_id +'
> shshsh').decrypt(open(p,'rb').read())
> Product.py:        import rotor
> Product.py:        rot=rotor.newrotor(id+' shshsh')
> Product.py:            import rotor
> Product.py:            rot=rotor.newrotor(rot)
>


Scary enough, but obviously this is dead code...otherwise Zope would not 
work.

-aj

    -----------------------------------------------------------------------
   -   Andreas Jung            ZOPYX Ltd. & Co KG                        -
  -   E-mail: info at zopyx.com   Web: www.zopyx.com, www.zopyx.de         -
   -----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060314/b6abbf9a/attachment.bin


More information about the Zope mailing list