1. LibreSSL

について、ここに記述してください。

http://www.libressl.org/

libressl-3.8.2.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/

/3.8.2

LibreSSL is composed of four parts:

    The openssl(1) utility, which provides tools for managing keys, certificates, etc.
    libcrypto: a library of cryptography fundamentals
    libssl: a TLS library, backwards-compatible with OpenSSL
    libtls: a new TLS library, designed to make it easier to write foolproof applications

ubuntu 14.04 LTS で make install まで行った。

-rw-r--r-- 1 root root   2398134 11月 17 20:53 libssl.a
-rw-r--r-- 1 root root       942 11月 17 20:53 libssl.la
lrwxrwxrwx 1 root root        16 11月 17 20:53 libssl.so -> libssl.so.35.0.0
lrwxrwxrwx 1 root root        16 11月 17 20:53 libssl.so.35 -> libssl.so.35.0.0
-rw-r--r-- 1 root root   1552853 11月 17 20:53 libssl.so.35.0.0
-rw-r--r-- 1 root root    236690 11月 17 20:53 libtls.a
-rw-r--r-- 1 root root       963 11月 17 20:53 libtls.la
lrwxrwxrwx 1 root root        15 11月 17 20:53 libtls.so -> libtls.so.6.0.0
lrwxrwxrwx 1 root root        15 11月 17 20:53 libtls.so.6 -> libtls.so.6.0.0
-rw-r--r-- 1 root root    160033 11月 17 20:53 libtls.so.6.0.0

1.1. python and ssl

python と OpenSSL (LibreSSL)だけで問題が起きる。

$ python
Python 2.7.6 (default, Jun 22 2015, 18:00:18) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenSSL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
    from OpenSSL._util import (
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 13, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /usr/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/_openssl.so: undefined symbol: EC_curve_nid2nist
>>> 

MoinQ: LibreSSL (last edited 2023-11-18 10:25:57 by ToshinoriMaeno)