SSL through python. possible ?

G

Giampaolo Rodola'

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/
 
M

Mike Driscoll

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

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
 
T

TkNeo

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.
 
T

TkNeo

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 ?
 
T

Todd Whiteman

TkNeo said:
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/view/openkomodo/trunk/src/components/koFTP.py

Cheers,
Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,099
Members
48,773
Latest member
Kaybee

Latest Threads

Top