Re: Libressl and python2.7

2014-12-21 Thread Benjamin Baier
My example was just to show you that OpenBSD ships with LibreSSL. Follow any "OpenSSL" tutorial to learn more. .Pkey() ===> .PKey() On 12/21/2014 03:48 PM, Alan Cheng wrote: Thanks Benjamin. Ssl works. But now I got a new eorror: OpenSSL.crypto.Pkey() function not found. Tried help(ssl) but f

Re: Libressl and python2.7

2014-12-21 Thread Alan Cheng
Thanks Benjamin. Ssl works. But now I got a new eorror: OpenSSL.crypto.Pkey() function not found. Tried help(ssl) but found that module does not provide any crypto related functions. Is there more modules to be imported or anything? Thanks! Alan Benjamin Baier 编写: >try >$ python2.7 >Python 2

Re: Libressl and python2.7

2014-12-21 Thread Benjamin Baier
try $ python2.7 Python 2.7.8 (default, Dec 12 2014, 14:59:33) [GCC 4.2.1 20070719 ] on openbsd5 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>> ssl.OPENSSL_VERSION On 12/21/2014 11:11 AM, Alan Cheng wrote: Hi, How can I use libressl with a python2.7 prog

Libressl and python2.7

2014-12-21 Thread Alan Cheng
Hi, How can I use libressl with a python2.7 programm on current? The python program use "import OpenSSL", and I tried replace "OpenSSL" with "Libtls" and "Libressl", but none can be found. Searched Misc, Tech and FAQ, didn't find anything helpful. Thanks. Alan Cheng