SSL through python. possible ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TkNeo

    SSL through python. possible ?

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

    Thanks.
  • Mike Driscoll

    #2
    Re: SSL through python. possible ?

    On Apr 29, 8:56 am, TkNeo <tarun....@gmai l.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:






    HTH

    Mike

    Comment

    • Heikki Toivonen

      #3
      Re: SSL through python. possible ?

      Mike Driscoll wrote:
      On Apr 29, 8:56 am, TkNeo <tarun....@gmai l.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

      Comment

      • Giampaolo Rodola'

        #4
        Re: SSL through python. possible ?

        On 29 Apr, 15:56, TkNeo <tarun....@gmai l.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

        Comment

        • Mike Driscoll

          #5
          Re: SSL through python. possible ?

          On May 2, 1:20 pm, Heikki Toivonen <hei...@osafoun dation.orgwrote :
          Mike Driscoll wrote:
          On Apr 29, 8:56 am, TkNeo <tarun....@gmai l.comwrote:
          I need to do SSL file transfer using python? Is there a library i can
          use ?
          >>
          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

          Comment

          • TkNeo

            #6
            Re: SSL through python. possible ?

            On May 2, 1:43 pm, "Giampaolo Rodola'" <gne...@gmail.c omwrote:
            On 29 Apr, 15:56,TkNeo<tar un....@gmail.co mwrote:
            >
            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.

            Comment

            • TkNeo

              #7
              Re: SSL through python. possible ?

              On May 2, 1:52 pm, Mike Driscoll <kyoso...@gmail .comwrote:
              On May 2, 1:20 pm, Heikki Toivonen <hei...@osafoun dation.orgwrote :
              >
              Mike Driscoll wrote:
              On Apr 29, 8:56 am,TkNeo<tarun. ...@gmail.comwr ote:
              >I need to do SSL file transfer using python? Is there a library i can
              >use ?
              >>
              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 ?

              Comment

              • Todd Whiteman

                #8
                Re: SSL through python. possible ?

                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):


                Cheers,
                Todd

                Comment

                • Heikki Toivonen

                  #9
                  Re: SSL through python. possible ?

                  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

                  Comment

                  Working...