From nobody Mon Sep 04 07:32:08 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RfL1t1QVQz4ryV4 for ; Mon, 4 Sep 2023 07:32:18 +0000 (UTC) (envelope-from 87f918bc367b9c42361ed314d25d7d77@ludikovsky.name) Received: from ludikovsky.name (ludikovsky.name [158.255.212.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RfL1s12gdz3ZlN for ; Mon, 4 Sep 2023 07:32:17 +0000 (UTC) (envelope-from 87f918bc367b9c42361ed314d25d7d77@ludikovsky.name) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 87f918bc367b9c42361ed314d25d7d77@ludikovsky.name designates 158.255.212.178 as permitted sender) smtp.mailfrom=87f918bc367b9c42361ed314d25d7d77@ludikovsky.name; dmarc=pass (policy=none) header.from=ludikovsky.name Received: from [IPV6:2a02:1748:f39f:7f81:cd57:45a6:c2e0:e79d] (unknown [IPv6:2a02:1748:f39f:7f81:cd57:45a6:c2e0:e79d]) by ludikovsky.name (Postfix) with ESMTPSA id 4780942EB for ; Mon, 4 Sep 2023 07:32:09 +0000 (UTC) Message-ID: Date: Mon, 4 Sep 2023 09:32:08 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Language: en-US To: questions@freebsd.org From: Peter Ludikovsky <87f918bc367b9c42361ed314d25d7d77@ludikovsky.name> Subject: Issues with py39-openssl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.64 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[ludikovsky.name,none]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:57169, ipnet:158.255.212.0/24, country:AT]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4RfL1s12gdz3ZlN Hi! Equal parts question and solution. I've encountered an issue with iocage being unable to do anything, only throwing a list of Python execptions ending in AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' If you encounter this error with iocage, certbot, … the reason is that py39-cryptography was updated, but the dependency py39-openssl wasn't. [1]. The linked thread also contains a workaround. For the question part: anyone got insight as to how this happened? AFAIK the cryptography module should require an appropriate pyOpenSSL version to be present when the package is built/installed. Regards, /peter [1] https://forums.freebsd.org/threads/certbot-error-module-lib-has-no-attribute-openssl_add_all_algorithms.90150/#post-620925