Wootware

Time To Upgrade Your Python: TLS v1.2 Will Soon Be Mandatory

 tháng 1 31, 2017     No comments   

If you're using an older Python without the most secure TLS implementation, this is the year to get serious about upgrading. Otherwise next June you may not be able to "pip install" packages from PyPI.



PyPI's maintainer Donald Stufft recently announced that python.org and related sites will begin disabling the old TLS versions 1.0 and 1.1. This change was imposed on us by our content delivery network, Fastly, in response to a change imposed on them by the Payment Card Industry Security Standards Council. In order to continue serving websites that take credit card payments, Fastly is required to disable the old, insecure versions of TLS. Since the PSF's servers, including PyPI, use Fastly, the old versions of TLS will be disabled as well.



Fastly wrote in October 2015,

There have been serious and systemic security issues with earlier versions of TLS and its predecessor, SSL, including POODLE, Heartbleed, and LOGJAM. These threatened to break trust in fundamental methods of secure communication, exposing both you and your customers to breaches in security. The actions of the PCI DSS Council to maintain a high minimum bar are a step towards ensuring the security of all online business transactions.
There are two deadlines to upgrade your Python to a version with the latest TLS. The first comes soon, on April 30, 2017, when python.org sites without Extended Validation Certificates will stop supporting TLS 1.0 and 1.1. These sites include:



  • testpypi.python.org

  • test.pypi.org

  • files.pythonhosted.org



Warehouse, the future successor to PyPI, will also be affected by April's deadline, since Warehouse serves files from files.pythonhosted.org.



The more crucial deadline comes June 30, 2018. On that date all remaining python.org sites, including PyPI, will no longer support TSL 1.0 and 1.1. Older Python versions that do not implement TLSv1.2 will be prohibited from accessing PyPI.



See below for instructions to check your interpreter's TLS version. 1



Stufft writes, "I am going to see about possibly organizing some scheduled 'brown outs' of TLSv1.0 and TLSv1.1 prior to the cut off dates to try and help folks find places that will need updates. Any scheduled brownouts will be posted to status.python.org prior to happening."



Mac users should pay special attention. So far, the system Python shipped with MacOS does not yet support TLSv1.2 in any MacOS version; beginning next June these system Pythons will no longer be able to "pip install" packages. 2 Fortunately, it's easy to install a modern Python alongside the MacOS system Python. Either download Python 3.6 from python.org, or for Python 2.7 with the latest TLS, use Homebrew. Both methods of installing Python will continue working after June 2018.






1. To check your Python interpreter's TLS version, install the "requests" package and run a command. For example, for Python 2:



python2 -m pip install --upgrade requests

python2 -c "import requests; print(requests.get('https://www.howsmyssl.com/a/check', verify=False).json()['tls_version'])"


Or Python 3:



python3 -m pip install --upgrade requests

python3 -c "import requests; print(requests.get('https://www.howsmyssl.com/a/check', verify=False).json()['tls_version'])"


If you see "TLS 1.2", your interpreter's TLS is up to date. If you see "TLS 1.0" or an error like "tlsv1 alert protocol version", then you must upgrade. ↩



2. The reason Python's TLS implementation is falling behind on macOS is that Python continues to use OpenSSL, which Apple has stopped updating on macOS. In the coming year, the Python Packaging Authority team will investigate porting pip to Apple's own "SecureTransport" library as an alternative to OpenSSL, which would allow old Python interpreters to use modern TLS with pip only. "This is a non-trivial amount of effort," writes Stufft, "I'm not sure it's going to get done."



In the long run, the Python interpreter itself would easily keep up with TLS versions, if it didn't use OpenSSL on platforms like macOS and Windows where OpenSSL is not shipped with the OS. Cory Benfield and Christian Heimes propose to redesign the standard library's TLS interfaces to make it easier to swap OpenSSL with platform-native TLS implementations. ↩
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Gửi email bài đăng nàyBlogThis!Chia sẻ lên XChia sẻ lên Facebook
Bài đăng Mới hơn Bài đăng Cũ hơn Trang chủ

0 nhận xét:

Đăng nhận xét

Popular Posts

  • Microsoft Office 2016 Portable + Professional Plus Download Free ( 32-bit/64-bit )
    Microsoft Office 2016 Portable + Professional Plus Download Free ( 32-bit/64-bit ) for all Microsoft windows. It's an offline setup stan...
  • Autodesk ArtCAM 2017 Crack + Patch + Full Version
    Autodesk ArtCAM 2017 Crack + Patch + Full Version ArtCAM is, in fact, a design tool designed more for designers than engineers, and allows d...
  • Download PTC Creo v5.0 / v4.0 + Crack
    Download PTC Creo v5.0 / v4.0 + Crack is a full version offline installer software program for your pc and you can also download from portab...
  • Windows 7 Tiny Unattended Fully Activated CD (x86)
    Description:- This is a re-up of experience's Windows Tiny7 Rev01 Unattended Activated CD (x86). Total size after install is 1.64 Gb, an...
  • Maxon CINEMA 4D Studio R19.024 Free Download
    Download Maxon CINEMA 4D Studio R19.024 Free latest version offline setup for Microsoft Windows 7, 8, 10, XP, Vista. Maxon CINEMA 4D Studio ...
  • Tekla Structural Designer 2019 v19.0.0.104 (32/64 Bit) Free Full Download
    Download Tekla Structural Designer 2019 v19.0.0.104 (32/64 Bit) Full Free Crack latest version offline setup for Microsoft Windows 7, 8, 10,...
  • ARTCUT 2009 Software USB Driver Free Full Download
    Download ARTCUT 2009 Software USB Driver Full Free latest version offline setup for Microsoft Windows 7, 8,  10, XP, Vista. ARTCUT 2009 Soft...
  • SketchUp Pro 2019 v19.0.685 + Windows + Portable / macOS
    SketchUp Pro 2019 v19.0.685 + Windows + Portable / macOS is a full version offline installer software program for your pc and you can also d...
  • Adobe Premiere Pro CC 2018 Download Latest Version
    Adobe Premiere Pro CC 2018 Download Latest Version Adobe Premiere Pro CC 2018 Download Latest Version for Windows and Mac 32 bit & 64-bi...
  • Adobe Acrobat Pro DC 2019 Portable (v19.010.20064)
    Adobe Acrobat Pro DC 2019 Portable (v19.010.20064) is a software for creating PDF files. With the help of this software, the user can conver...

Maxon CINEMA 4D Studio R19.024 Free Download

Download Maxon CINEMA 4D Studio R19.024 Free latest version offline setup for Microsoft Windows 7, 8, 10, XP, Vista. Maxon CINEMA 4D Studio ...

Tìm kiếm Blog này

Lưu trữ Blog

  • tháng 6 2019 (4)
  • tháng 5 2019 (4)
  • tháng 4 2019 (4)
  • tháng 3 2019 (13)
  • tháng 2 2019 (15)
  • tháng 1 2019 (23)
  • tháng 12 2018 (20)
  • tháng 11 2018 (3)
  • tháng 10 2018 (6)
  • tháng 9 2018 (1)
  • tháng 8 2018 (7)
  • tháng 7 2018 (26)
  • tháng 6 2018 (31)
  • tháng 5 2018 (9)
  • tháng 4 2018 (12)
  • tháng 3 2018 (17)
  • tháng 2 2018 (14)
  • tháng 1 2018 (3)
  • tháng 12 2017 (8)
  • tháng 11 2017 (11)
  • tháng 10 2017 (22)
  • tháng 9 2017 (24)
  • tháng 8 2017 (9)
  • tháng 7 2017 (5)
  • tháng 5 2017 (4)
  • tháng 4 2017 (3)
  • tháng 3 2017 (4)
  • tháng 2 2017 (6)
  • tháng 1 2017 (7)
  • tháng 12 2016 (4)
  • tháng 11 2016 (4)
  • tháng 10 2016 (2)
  • tháng 8 2016 (4)
  • tháng 7 2016 (4)
  • tháng 6 2016 (3)
  • tháng 5 2016 (6)
  • tháng 4 2016 (5)
  • tháng 3 2016 (2)
  • tháng 1 2016 (3)
  • tháng 12 2015 (2)
  • tháng 11 2015 (11)
  • tháng 10 2015 (22)
  • tháng 9 2015 (12)
  • tháng 8 2015 (2)
  • tháng 7 2015 (16)
  • tháng 6 2015 (11)
  • tháng 5 2015 (5)
  • tháng 4 2015 (31)
  • tháng 3 2015 (33)
  • tháng 2 2015 (4)
  • tháng 1 2015 (1)
  • tháng 11 2014 (20)
  • tháng 10 2014 (5)
Được tạo bởi Blogger.

Nhãn

  • 3d Animation
  • 3d CAD
  • 3D Software
  • Action Games
  • Adobe
  • Adobe Elements
  • Adobe Illustrator
  • Adobe Photoshop
  • Adobe Premiere
  • Adventure Games
  • advocacy
  • Africa
  • Android
  • Android Application
  • Android Stuff
  • Antivirus
  • APK Games
  • Apps
  • Arcade Games
  • Asia-Pacific
  • Audio Editing
  • award
  • Bangla Software
  • BBC
  • Best and Top
  • board
  • Board of Directors
  • brochure
  • C
  • call
  • Call for Proposals
  • Caribbean
  • CD & DVD
  • children
  • coding literacy
  • community
  • community service awards
  • conference
  • conferences
  • contributions
  • Converter
  • Converters
  • CorelDraw ELEMENTS
  • CSA
  • Cuba
  • Cubase
  • Data Recovery
  • deadlines
  • Dell Desktop Drivers
  • democracy
  • Design
  • Design & Editing
  • Design Tools
  • Development
  • director
  • diversity
  • Django Girls
  • documentation
  • Dominican Republic
  • donations
  • Driver
  • Driver Software
  • DriverPack Solution
  • Drivers
  • e-vote
  • ecosystem
  • edu-sig
  • education
  • election
  • europython
  • events
  • Fighting Games
  • Folder Lock
  • Font Creator
  • foundation
  • frank-willison. Young Coders
  • Gaming
  • Google Summer of Code
  • grants
  • Graphic Design
  • Graphic Tools
  • Graphics
  • GTA
  • hardware
  • IDM
  • Illustrator
  • infrastructure
  • Inpages
  • Internet
  • Internet Security
  • Japan
  • job board
  • jobs
  • Mac
  • Memories of Lost Time
  • mentoring
  • micro:bit
  • microbit
  • MicroPython
  • microsoft
  • Microsoft Office
  • Multi-media
  • Multimedia
  • Music
  • News
  • nominate
  • nominations
  • non-profit
  • NumFocus
  • Office
  • Office Elements
  • open source
  • Operating System
  • opportunity
  • oscon
  • outreach
  • Pc Game
  • PC Games
  • PC-Games
  • Popular Tools
  • Portable
  • porting
  • PSF
  • PSF funding
  • public relations
  • Puzzle Games
  • PyCaribbean
  • pycon
  • pycon2016
  • pycon2018
  • pydotorg
  • PyLadies
  • PyOhio
  • pypi
  • pypy
  • python
  • python3
  • Racing Games
  • RPG-Games
  • Santo Domingo
  • Science
  • Scientific Computing
  • scipy
  • Screen Recorder
  • Security
  • Security Softwares
  • Shooting Games
  • Simulation Games
  • Software
  • Softwares
  • South America
  • sponsorship
  • Sports Games
  • sprints
  • Strategy Games
  • students
  • Super Copier
  • Super Copy
  • support
  • System Software
  • System Tools
  • talks
  • Tech
  • Tips
  • Total Security
  • travel
  • tutorials
  • Typing Software
  • uk
  • Utilities
  • Video Editing
  • volunteers
  • Windows
  • Windows Themes
  • Working Group
  • Young Coders

Báo cáo vi phạm

  • Trang chủ

Copyright © Wootware | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates