Many mac installations of python include an old version of TLS which is no longer supported by git (and pip and lots of other websites). It's usually included in linux/mac installations, but if not, or if you are on windows see This library is used to detect filetypes where there is no extension on the filename (libgen does this sometimes). Instructions on modifying the ubuntu config are here: Magic library ¶ The debian packages can be downloaded from Modify ubuntu ssl config to switch off the restrictions (works on 20.10 but not confirmed on 20.04) Downgrade the Ubuntu packages to the ones shipped with 19.10 which don't include the restrictionsĤ. Use the official SSL libraries from or the debian packages which don't include the ubuntu restrictionsģ. Ask Goodreads to update their TLS to use TLS1.2 or later (good luck with that!)Ģ. There are several different workarounds.ġ. If you get ssl errors on goodreads sync you need to modify your ubuntu ssl settings, this is because ubuntu have decided to disable some older ssl features that goodreads still uses. Try pip install -U cryptography, pyopenssl, requests SSL on Ubuntu 20.04/20.10 ¶ If you get the error message SSLError("bad handshake: Error() your version of requests/cryptography is incomplete or outdated. You may need to upgrade to a more recent version of python 2.7, and also make sure you have the additional modules mentioned in the previous answer (pycrypto, pyasn1, ndg-httpsclient) Support for SNI was only added with python 2.7.9 The server you are trying to reach requires (SNI) Server Name Indication and will cause a handshake failure if the client is not using this SNI extension. If you get the error message "SSL: SSLV3_ALERT_HANDSHAKE_FAILURE" when trying to load bookstrap themes Seems some installations automatically pull these in when you install pyOpenSSL and some don't. You may also need to install pycrypto, pyasn1, ndg-httpsclient. Installing pyOpenSSL on it's own may not be enough. If you get an error message "You must install pyOpenSSL to use HTTPS" (Thanks to for the instructions) SSL ¶ Installation ¶
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |