Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python-Quatch: ssl.SSLError: ('No cipher can be selected.',)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
guru meditation
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2018
Posts: 140
Location: Planet Earth

PostPosted: Fri Aug 13, 2021 8:59 am    Post subject: Python-Quatch: ssl.SSLError: ('No cipher can be selected.',) Reply with quote

Verschiedene Python-Programme meckern auf div. Gentoo-Maschinen (zum Beispiel bei Verwendung von youtube-dl):

ssl.SSLError: ('No cipher can be selected.',)

Hat jemand zufällig ene Lösung parat?

Liegt das vielleicht am LIbreSSL-Port? Für rein theoretisch möglich halte ich das – allerdings habe ich kein Gentoo-Installation mit OpenSSL zum Vergleich und ich halte das nur für möglich, wenn Python krampfhaft versucht eine Verschlüsselung zu wählen, die Libre nicht unterstützt. Dann wiederum unterstützt das installierte LibreSSL 3.3.3 auch TLS 1.3 (zumindest auf meinem Mailserver).

Die komplette Meldung sieht so aus:
Code:
youtube-dl "https://www.irgend.was/"
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 33, in <module>
    sys.exit(load_entry_point('youtube-dl==2021.6.6', 'console_scripts', 'youtube-dl')())
  File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/__init__.py", line 475, in main
    _real_main(argv)
  File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/__init__.py", line 442, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/YoutubeDL.py", line 422, in __init__
    self._setup_opener()
  File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/YoutubeDL.py", line 2395, in _setup_opener
    https_handler = make_HTTPS_handler(self.params, debuglevel=debuglevel)
  File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/utils.py", line 2297, in make_HTTPS_handler
    context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
  File "/usr/lib/python3.9/ssl.py", line 737, in create_default_context
    context = SSLContext(PROTOCOL_TLS)
  File "/usr/lib/python3.9/ssl.py", line 483, in __new__
    self = _SSLContext.__new__(cls, protocol)
ssl.SSLError: ('No cipher can be selected.',)
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Fri Aug 13, 2021 10:04 am    Post subject: Reply with quote

Hm, ich glaub LibreSSL wird schon länger nicht mehr unterstützt --> https://www.gentoo.org/support/news-items/2021-01-05-libressl-support-discontinued.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum