classification
Title: Python SSL stack doesn't have a default CA Store
Type: security Stage:
Components: Library (Lib) Versions: Python 3.3
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, eric.araujo, jcea, loewis, naif, pitrou
Priority: normal Keywords:

Created on 2011-12-23 10:18 by naif, last changed 2011-12-30 21:27 by eric.araujo.

Messages (3)
msg150142 - (view) Author: naif (naif) Date: 2011-12-23 10:18
For the certificate store:

Can we eventually agree to bind a default CA-store to a Mozilla verified one?
Mozilla in handling Firefox does a great job in keeping CA-store up-to-date.

Integrating default mozilla CA-store with Python builds could be a nice way, it's just a matter of integrating into the build-system the download/fetching of default Mozilla store.

At least the language base it's default on a trusted entity to manage, cross-platform, the CA-store for TLS/SSL.

The mainteinance of the CA-store would be delegated to Mozilla that has been demonstrated to be independent and very security conscious, removing dirty CA-store (like Diginotar after Iranian compromise).

That way 90% of case of of SSL/TLS certificate validation will be managed and by default it would be possible to enable secure SSL/TLS client checking like described in http://bugs.python.org/issue13647 .
msg150147 - (view) Author: naif (naif) Date: 2011-12-23 10:39
Mozilla CA are available on:

https://www.mozilla.org/projects/security/certs/

The warranty and security process of Mozilla handling of SSL CA root certs is described on:

https://wiki.mozilla.org/CA

I think that Python language could reasonably base it's default root CA on the Mozilla ones that are the most recognized for security and transparency in the world.
msg150187 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2011-12-23 17:29
I'm not sure Python should be in the business of distributing CA certificates. I think it's better left to the application or Linux distribution.
History
Date User Action Args
2011-12-30 21:27:46eric.araujosetnosy: + pitrou
2011-12-30 21:27:34eric.araujosetnosy: + loewis, eric.araujo

versions: - Python 2.6, Python 3.1, Python 2.7, Python 3.2, Python 3.4
2011-12-23 17:29:46benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg150187
2011-12-23 16:54:33jceasetnosy: + jcea
2011-12-23 10:39:58naifsetmessages: + msg150147
2011-12-23 10:20:30naifsettype: security
2011-12-23 10:18:53naifcreate