473,385 Members | 1,329 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.

SSL through python. possible ?

I need to do SSL file transfer using python? Is there a library i can
use ?

Thanks.
Jun 27 '08 #1
8 995
On Apr 29, 8:56*am, TkNeo <tarun....@gmail.comwrote:
I need to do SSL file transfer using python? Is there a library i can
use ?

Thanks.
Did you try Google? Here's a few links that look like possibilities:

http://sandbox.rulemaker.net/ngps/m2/
http://pypgsql.sourceforge.net/misc/python-ssl.html
http://pypi.python.org/pypi/ssl/
http://aspn.activestate.com/ASPN/Coo.../Recipe/117004

HTH

Mike
Jun 27 '08 #2
Mike Driscoll wrote:
On Apr 29, 8:56 am, TkNeo <tarun....@gmail.comwrote:
>I need to do SSL file transfer using python? Is there a library i can
use ?

http://sandbox.rulemaker.net/ngps/m2/
M2Crypto has since moved to http://chandlerproject.org/Projects/MeTooCrypto

--
Heikki Toivonen
Jun 27 '08 #3
On 29 Apr, 15:56, TkNeo <tarun....@gmail.comwrote:
I need to do SSL file transfer using python? Is there a library i can
use ?

Thanks.
If you have patience you can wait for Python 2.6 which will include a
new ssl module, otherwise there are a lot of third party libraries out
there which already binds OpenSSL for Python.
--- Giampaolo
http://code.google.com/p/pyftpdlib/
Jun 27 '08 #4
On May 2, 1:20 pm, Heikki Toivonen <hei...@osafoundation.orgwrote:
Mike Driscoll wrote:
On Apr 29, 8:56 am, TkNeo <tarun....@gmail.comwrote:
I need to do SSL file transfer using python? Is there a library i can
use ?
http://sandbox.rulemaker.net/ngps/m2/

M2Crypto has since moved tohttp://chandlerproject.org/Projects/MeTooCrypto

--
Heikki Toivonen
Whoops...I just went with the first link Google gave me. The link I
gave doesn't mention that the project has moved. Looks like the one
you link to is the 9th link on my Google search using the terms:
"python m2crypto".

Sorry if I spread misinformation though.

Mike
Jun 27 '08 #5
On May 2, 1:43 pm, "Giampaolo Rodola'" <gne...@gmail.comwrote:
On 29 Apr, 15:56,TkNeo<tarun....@gmail.comwrote:
I need to do SSL file transfer using python? Is there a library i can
use ?
Thanks.

If you have patience you can wait for Python 2.6 which will include a
new ssl module, otherwise there are a lot of third party libraries out
there which already binds OpenSSL for Python.

--- Giampaolohttp://code.google.com/p/pyftpdlib/

Python 2.6. Ah, that sounds very nice. I would be happy to upgrade to
2.4 from 2.3.
My boss does not think we need to upgrade.
Jun 27 '08 #6
On May 2, 1:52 pm, Mike Driscoll <kyoso...@gmail.comwrote:
On May 2, 1:20 pm, Heikki Toivonen <hei...@osafoundation.orgwrote:
Mike Driscoll wrote:
On Apr 29, 8:56 am,TkNeo<tarun....@gmail.comwrote:
>I need to do SSL file transfer using python? Is there a library i can
>use ?
>http://sandbox.rulemaker.net/ngps/m2/
M2Crypto has since moved tohttp://chandlerproject.org/Projects/MeTooCrypto
--
Heikki Toivonen

Whoops...I just went with the first link Google gave me. The link I
gave doesn't mention that the project has moved. Looks like the one
you link to is the 9th link on my Google search using the terms:
"python m2crypto".

Sorry if I spread misinformation though.

Mike
ok i have tried around a lot but no luck. I think M2Crypto is my best
option except it requires a minimum of python 2.4 which i don't have.

What i am trying to do is to do an FTP transfer that uses SSL
(username, password authentication) and not a certificate file. The
few example i have found of the Openssl module use a certificate for
authentication unlike what i want to do.

Anyone has any ideas ?
Jun 27 '08 #7
TkNeo wrote:
ok i have tried around a lot but no luck. I think M2Crypto is my best
option except it requires a minimum of python 2.4 which i don't have.

What i am trying to do is to do an FTP transfer that uses SSL
(username, password authentication) and not a certificate file. The
few example i have found of the Openssl module use a certificate for
authentication unlike what i want to do.
Komodo uses ssl to provide FTPS support (FTP over SSL), using the Python
ssl socket library. From memory, I think there were problems trying to
get FTPS to work on earlier versions of python (earlier than Python 2.4)
and also a few problems working with Python 2.4 itself.

This code might provide some help (you can search for FTPS):
http://svn.openkomodo.com/openkomodo...nents/koFTP.py

Cheers,
Todd
Jun 27 '08 #8
TkNeo wrote:
ok i have tried around a lot but no luck. I think M2Crypto is my best
option except it requires a minimum of python 2.4 which i don't have.
M2Crypto requires Python 2.3. There are optional features that require
newer Python. If you run into anything else (=bugs) that does not work
with 2.3, let me know and I'll fix it.

--
Heikki Toivonen
Jun 27 '08 #9

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

Similar topics

24
by: Richard Blackwood | last post by:
Is it possible to prototype an operating system in Python? If so, what would such a task entail? (i.e. How would one write a boot-loader in Python?) - Richard B.
47
by: Kenneth McDonald | last post by:
Is there any emerging consensus on the "best" UI for toolkit. Tk never quite made it but from what I can see, both qt and wxWin are both doing fairly well in general. I'm already aware of the...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 378 open ( +3) / 3298 closed (+34) / 3676 total (+37) Bugs : 886 open (-24) / 5926 closed (+75) / 6812 total (+51) RFE : 224 open...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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?
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.