468,537 Members | 2,465 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,537 developers. It's quick & easy.

Re: SSL through python. possible ?

On Mon, 5 May 2008 11:11:19 -0700 (PDT), TkNeo <ta*******@gmail.comwrote:
>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 ?
FWIW, though not as complete as an OpenSSL wrapper as M2Crypto, pyOpenSSL
works with Python 2.3.

As far as the details of the authentication that you are attempting go, it
sounds like you want to use ephemeral DH key exchange. This is something
which is on my list to figure out. ;)

Jean-Paul
Jun 27 '08 #1
1 918
On May 5, 2:32 pm, Jean-Paul Calderone <exar...@divmod.comwrote:
On Mon, 5 May 2008 11:11:19 -0700 (PDT),TkNeo<tarun....@gmail.comwrote:
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 ?

FWIW, though not as complete as an OpenSSL wrapper as M2Crypto, pyOpenSSL
works with Python 2.3.

As far as the details of the authentication that you are attempting go, it
sounds like you want to use ephemeral DH key exchange. This is something
which is on my list to figure out. ;)

Jean-Paul
Jean, from my limited knowledge, there are usually 3 modes of
authentication:
1. certificate exchange
2. key exchange
3. username/password

#3 is what i want to use.

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.