473,385 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to enable rotor in python 2.4.2?


Dear all,

I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
installing FLE (http://fle3.uiah.fi/), I find that it will call the
rotor module i npython. However, rotor is removed from python 2.4.2
(http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
I enable rotor some ways in python again? Thanks.

Regards,
Murphy

Jan 24 '06 #1
3 2933


I compiled python 2.3.5 and copy the lib-dynload/rotor.so to the 2.4.2
lib and it works... Thanks anyway. :)

Murphy

Murphy Wong wrote:

Dear all,

I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
installing FLE (http://fle3.uiah.fi/), I find that it will call the
rotor module i npython. However, rotor is removed from python 2.4.2
(http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
I enable rotor some ways in python again? Thanks.

Regards,
Murphy


Jan 24 '06 #2
Murphy Wong wrote:
Dear all,

I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
installing FLE (http://fle3.uiah.fi/), I find that it will call the
rotor module i npython. However, rotor is removed from python 2.4.2
(http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
I enable rotor some ways in python again? Thanks.


You could get the module from some older Python version
(http://svn.python.org/projects/pytho.../rotormodule.c)
and compile it for Python 2.4. You need a C compiler and a minimal
setup.py file for compiling the module:

from distutils.core import setup
from distutils.extension import Extension

setup (
name = "rotor",
ext_modules = [Extension( name="rotor",
sources=["rotormodule.c"]
)]
)

HTH,

-- Gerhard
Jan 24 '06 #3
Murphy Wong <mu*********@hku.hk> writes:
I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
installing FLE (http://fle3.uiah.fi/), I find that it will call the
rotor module i npython. However, rotor is removed from python 2.4.2
(http://savannah.nongnu.org/bugs/?fun...item_id=14434).
Could I enable rotor some ways in python again? Thanks.


I don't know what FLE is but rotor is not a good encryption. Instead
of restoring it to a new Python instance, FLE should be updated to not
use it.
Jan 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

46
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
5
by: rony steelandt | last post by:
I'm in the midle of porting a python 1.5 application to 2.4 I just discovered that the rotor encryption module isn't part anymore of the 2.4 distribution. Is there a way to add this module to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.