LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2010, 10:52 AM   #1
Latitude
Member
 
Registered: Mar 2009
Posts: 53

Rep: Reputation: 15
What is Python OpenSSl, exactly?


Hi,

I haven't been able to determine what exactly Python OpenSSL and what it does. Google searching has not yielded me anything I can understand. In a terminal window (using RHEL 4.8 AS) typing
Code:
rpm -qi pyOpenSSL
yields information pertaining to the version of Python OpenSSL on my server.

Can you explain what Python OpenSSL is in simple terms? Thanks.
 
Old 06-11-2010, 11:07 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,821

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Python interface to the OpenSSL library

Includes: SSL Context objects, SSL Connection objects, using Python sockets as transport layer. The Connection object wraps all the socket methods and can therefore be used interchangeably.

This module is a rather thin wrapper around (a subset of) the OpenSSL library. With thin wrapper I mean that a lot of the object methods do nothing more than calling a corresponding function in the OpenSSL library.


First Google result?
 
Old 06-15-2010, 08:58 AM   #3
Latitude
Member
 
Registered: Mar 2009
Posts: 53

Original Poster
Rep: Reputation: 15
If you can explain in simpler terms for someone who isn't familiar with what any of this is (besides knowing what Secure Sockets Layer is), you would be helping. Thanks.
 
Old 06-15-2010, 09:33 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,821

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
It's a way to use OpenSSL functions from Python scripts (an "interface"). It just translates ("wraps") the Python methods it defines into OpenSSL calls.

I don't know how to make it any simpler.
 
Old 06-15-2010, 12:39 PM   #5
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
Python is a programming/scripting language similar to Perl or PHP. The pyOpenSSL is a library for that programming language that allows it to use OpenSSL functionality.

Better explanation?
 
Old 06-16-2010, 09:28 AM   #6
Latitude
Member
 
Registered: Mar 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Thank you for your descriptions. After reading more online and rereading your reply, it is starting to make sense. My next question is much easier: Does Red Hat Enterprise Linux (AS 4.7) use SSL or OpenSSL? How can I find this out?

Last edited by Latitude; 06-16-2010 at 01:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: Review: Programming in Python 3: A Complete Introduction to the Python Language LXer Syndicated Linux News 0 01-26-2009 04:50 AM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
oops openssl-0.9.8e over openssl-0.9.8d bad install now 2 copies? rcorkum Slackware 4 06-29-2007 01:58 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration