[Python-modules-team] Bug#781610: python-requests: ships CA certificate bundle
eriol at mornie.org
Tue Mar 31 18:29:04 UTC 2015
tags 781610 +moreinfo
thanks for the report.
On Tuesday 31 March 2015 17:24:06 Thorsten Glaser wrote:
> es/requests/certs.py should be a symbolic link to
requests.certs is not a CA bundle, it's a module that permits downstream
developers to specify where the CA bundle is:
❯ cat /usr/lib/python2.7/dist-packages/requests/certs.py
# -*- coding: utf-8 -*-
This module returns the preferred default CA certificate bundle.
If you are packaging Requests, e.g., for a Linux distribution or a managed
environment, you can change the definition of where() to return a separately
packaged CA bundle.
from certifi import where
"""Return the preferred certificate bundle."""
# On Debian systems use ca-certificates
if __name__ == '__main__':
So, it's just a function that returns a path. On Debian it's patched to
upstream requests use certifi[¹] but is not used on Debian because we have
You can also see my reply on #779528 (it's a request to package certifi):
Am I missing something else?
Daniele Tricoli 'Eriol'
More information about the Python-modules-team