473,565 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: SSL through python. possible ?

On Mon, 5 May 2008 11:11:19 -0700 (PDT), TkNeo <ta*******@gmai l.comwrote:
>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 ?
>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
authenticati on 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 1058
On May 5, 2:32 pm, Jean-Paul Calderone <exar...@divmod .comwrote:
On Mon, 5 May 2008 11:11:19 -0700 (PDT),TkNeo<tar un....@gmail.co mwrote:
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 ?
>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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
3415
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
3447
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 licensing issues surrounding qt (fwiw, I think their license fee for commercial use is eminently reasonable), so aside from that, I was wondering if...
0
361
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 ( +7) / 227 closed ( +7) / 451 total (+14) New / Reopened Patches ______________________
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.