473,394 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

SSL in Python

I noticed in the documentation that they have ssl() in Python, but it says
only if configured. I just can't find info on how to configure SSL in
Python.
My goal is to write a simple p-2-p chat, but have all info encrypted between
clients.
Any help you could give me would be greatly appreciated!

Chris
Jul 18 '05 #1
2 3264
On Wed, Jun 25, 2003 at 11:23:57AM -0500, Chris Rennert wrote:
I noticed in the documentation that they have ssl() in Python, but it says
only if configured. I just can't find info on how to configure SSL in
Python. My goal is to write a simple p-2-p chat, but have all info
encrypted between clients. Any help you could give me would be greatly
appreciated!


Python's built-in SSL support only works for clients, not servers.
Several third party modules exist to provide server support, PyOpenSSL my
personal favorite. The gory details of this (and other networking issues)
are dealt with by Twisted: http://www.twistedmatrix.com/.

Jp

--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"

Jul 18 '05 #2
Thanks, I am on my way there now.
Again thank you for the quick reply

Chris
"Jp Calderone" <ex*****@intarweb.us> wrote in message
news:ma**********************************@python.o rg...
On Wed, Jun 25, 2003 at 11:23:57AM -0500, Chris Rennert wrote:
I noticed in the documentation that they have ssl() in Python, but it says only if configured. I just can't find info on how to configure SSL in
Python. My goal is to write a simple p-2-p chat, but have all info
encrypted between clients. Any help you could give me would be greatly
appreciated!


Python's built-in SSL support only works for clients, not servers.
Several third party modules exist to provide server support, PyOpenSSL my
personal favorite. The gory details of this (and other networking issues)
are dealt with by Twisted: http://www.twistedmatrix.com/.

Jp

--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
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...

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.