Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197235

RE Version of OpenSSl ?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From vincent.vandevyvre@oqapy.eu
Newsgroups comp.lang.python
Subject RE Version of OpenSSl ?
Date Sun, 09 Feb 2025 11:49:27 -0500 (EST)
Lines 33
Message-ID <mailman.104.1739119768.2912.python-list@python.org> (permalink)
References <20250209174926.BUpS2E00C4eH6rS01UpS0A@andre.telenet-ops.be>
Mime-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
X-Trace news.uni-berlin.de plcPB9Jox6JUGQH7IFeeDwsQD3CsNlHFY5pzPz74bZJQ==
Cancel-Lock sha1:7Xad/zanFzrcNjFOqmTBhn4fveA= sha256:gI+KDwQpHXJPcC0ZoG9dHAqheO2mL/cJL3mNByopxB8=
Return-Path <vincent.vande.vyvre@telenet.be>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=telenet.be header.i=@telenet.be header.b=ECABCMoa; dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'modules': 0.07; 'scripts.': 0.07; 'amd64': 0.09; 'grep': 0.09; 'pypi,': 0.09; 'skip:[ 20': 0.09; 'ubuntu': 0.09; 'import': 0.15; 'that.': 0.15; '(*)': 0.16; 'cat': 0.16; 'context.': 0.16; 'jason,': 0.16; 'ok.': 0.16; 'python3': 0.16; 'received:be': 0.16; 'rerun': 0.16; 'solution:': 0.16; 'ssl': 0.16; 'subject:Version': 0.16; 'url:old': 0.16; 'warning:': 0.16; 'problem': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'machine': 0.22; "i've": 0.22; 'maybe': 0.22; 'version': 0.23; 'install': 0.23; 'skip:- 60': 0.32; "i'm": 0.33; 'same': 0.34; 'package': 0.34; '"if': 0.35; 'subject: ?': 0.35; 'list': 0.39; 'thanks': 0.39; 'use': 0.39; 'explain': 0.40; 'skip:$ 10': 0.40; 'helps': 0.60; 'skip:o 10': 0.61; 'skip:o 40': 0.64; 'named': 0.65; 'url-ip:34/8': 0.66; 'url:index': 0.68; 'export': 0.69; 'skip:/ 10': 0.69; 'you.': 0.70; 'virtual': 0.71; 'near': 0.76; 'true:': 0.84; 'url- ip:34.49/16': 0.84; 'url:source': 0.89; 'fresh': 0.91; 'stable': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r25; t=1739119766; bh=w8609CFUY7UE1Ry+OQ4ID6mgLLQIePEY/AIyVq3ByKw=; h=Message-ID:Content-Type:MIME-Version:Content-Transfer-Encoding: Subject:From:To:From; b=ECABCMoa3UYOVQ7ljcJBA9FBJvtEaQ/7MpWnbr4rTHUjBa+/2bJ3ja0H61QC/qUSl o+Sj2vELtk68Nwnc5UKA2hf9P/zCvigIarGBqIqYKTKmgnjMEsai++VPfQqyRA7vll bEQ4ooxVQrcwXZsAVY50oAc5VYY9JrBEauE3Te9dgVrEWelK/n55cyLj6+Yoi4PLD6 a0OhxCpfDLV7e9B/L5ETd5X8V+5J5+FIDozAPkL0TZxOW83wVKNxHVWzNjZlo+tZLJ WyFUx7eL8CSV42gZ63+d+eJZ2Yhz/iptOzgBc6e3YYxEby8FYlsnrH4nWUU9cCQN3X jgduo9caTPl0g==
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.39
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <https://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20250209174926.BUpS2E00C4eH6rS01UpS0A@andre.telenet-ops.be>
Xref csiph.com comp.lang.python:197235

Show key headers only | View raw


> 
> In case this helps you find the correct package to install:
> 
> $ python3 -c "if True:
> >     import ssl
> >     print('Ok.')
> > "
> Ok.
> 
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=24.04
> DISTRIB_CODENAME=noble
> DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"
> 
> $ apt list --installed | grep ssl
> 
> WARNING: apt does not have a stable CLI interface. Use with caution in
> scripts.
> 
> libssl-dev/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
> [installed]
> libssl3t64/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
> [installed,automatic]
> libxmlsec1t64-openssl/noble,now 1.2.39-5build2 amd64 [installed,automatic]
> openssl/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
> [installed,automatic]
> ssl-cert/noble,noble,now 1.1.2ubuntu1 all [installed,automatic]

Thanks Jason, I have near the same result of you.
I need to explain the context.
I'm on a new machine with a fresh install of Ubuntu 24.04 wich embed Python 3.12.3, no problem with that.

As I'm maintainer of some Python modules published on PyPI, I've the habit of testing my modules in different virtual environments. For now Python 3.11, 3.12 and 3.13.

So, I've maybe found a solution:

I've create in my home a dir named /opt, download into it the latest version of openssl-1.1.1 and uncompress it.(*)
-------------------------------------------------------------
$ cd opt/openssl-1.1.1w
$ ./config && make && make test
$ mkdir $HOME/opt/lib
$ mv $HOME/opt/openssl-1.1.1w/libcrypto.so.1.1 $HOME/opt/lib/
$ mv $HOME/opt/openssl-1.1.1w/libssl.so.1.1 $HOME/opt/lib/
$ export LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH
--------------------------------------------------------------
And rerun the compilation of 3.12.9 without problem with openssl.

(*) https://openssl-library.org/source/old/1.1.1/index.html

Vincent.


Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

RE Version of OpenSSl ? vincent.vandevyvre@oqapy.eu - 2025-02-09 11:49 -0500
  Re: RE Version of OpenSSl ? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-02-09 17:28 -0800

csiph-web