SSL through python. possible ?

TkNeo tarun.kap at gmail.com
Mon May 5 18:39:18 EDT 2008


On May 5, 2:32 pm, Jean-Paul Calderone <exar... at divmod.com> wrote:
> On Mon, 5 May 2008 11:11:19 -0700 (PDT),TkNeo<tarun.... at gmail.com> wrote:
> >On May 2, 1:52 pm, Mike Driscoll <kyoso... at gmail.com> wrote:
> >> On May 2, 1:20 pm, Heikki Toivonen <hei... at osafoundation.org> wrote:
>
> >> > Mike Driscoll wrote:
> >> > > On Apr 29, 8:56 am,TkNeo<tarun.... at gmail.com> wrote:
> >> > >> 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.




More information about the Python-list mailing list