Summary: | dev-python/pyopenssl-20.0.0: AttributeError: module 'lib' has no attribute 'SSL_OP_NO_TLSv1_3' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Beddek <telans> |
Component: | Current packages | Assignee: | Gentoo LibreSSL <libressl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, mgorny, python, steils, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/pyca/pyopenssl/issues/970 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 757777, 757936 | ||
Attachments: | emerge --info dev-python/pyopenssl |
Description
James Beddek
2020-11-30 10:37:28 UTC
Created attachment 675811 [details]
emerge --info dev-python/pyopenssl
Could be. I can't deal with libressl issues right now, so the best I can do is to force openssl. I suppose that's not really what you'd like to see, though. What's your cryptography version? I don't think it's relevant but let's clear all the doubts. dev-python/cryptography-3.2.1 It looks like the minimum for pyopenssl-20.0.0 is cryptography-3.2. Cheers Could you please attach the full build log too? This patch https://github.com/pyca/pyopenssl/pull/861/commits/ecbd275386e5608f0f90d3536506d7f50026ffe6 fixes the issue for me. (it was reverted in 20.0.0) I don't know why TLSv1.3 is still disabled in opensslfeatures.h in LibreSSL. It is said that TLSv1.3 is implemented in LibreSSL for a few releases ago. I'll investigate it, but it's another issue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed217e133fe9313a47ef34da94239693ce72440c commit ed217e133fe9313a47ef34da94239693ce72440c Author: Stefan Strogin <steils@gentoo.org> AuthorDate: 2020-12-02 12:23:52 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2020-12-02 12:25:42 +0000 dev-python/pyopenssl: add patch for LibreSSL Closes: https://bugs.gentoo.org/757738 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Stefan Strogin <steils@gentoo.org> .../files/pyopenssl-20.0.0-libressl.patch | 30 ++++++++++++++++++++++ ...sl-20.0.0.ebuild => pyopenssl-20.0.0-r1.ebuild} | 2 ++ 2 files changed, 32 insertions(+) (In reply to Stefan Strogin from comment #6) > I don't know why TLSv1.3 is still disabled in opensslfeatures.h in LibreSSL. > It is said that TLSv1.3 is implemented in LibreSSL for a few releases ago. > I'll investigate it, but it's another issue. Please have a look at my comments at https://bugs.gentoo.org/751634#c5 and further. *** Bug 757936 has been marked as a duplicate of this bug. *** |