#2 Resolves: rhbz#1659132 Incorrect location used for system certs
Merged 2 years ago by williamjmorenor. Opened 2 years ago by jdennis.
rpms/ jdennis/python-certifi master  into  master

@@ -1,15 +1,15 @@ 

- diff -ur certifi-2018.10.15-origen/certifi/core.py certifi-2018.10.15/certifi/core.py

- --- certifi-2018.10.15-origen/certifi/core.py	2018-10-23 20:04:40.667440554 +0000

- +++ certifi-2018.10.15/certifi/core.py	2018-10-23 20:07:23.147549208 +0000

- @@ -19,9 +19,9 @@

+ diff -r -u certifi-2018.10.15.orig/certifi/core.py certifi-2018.10.15/certifi/core.py

+ --- certifi-2018.10.15.orig/certifi/core.py	2018-01-18 15:27:24.000000000 -0500

+ +++ certifi-2018.10.15/certifi/core.py	2018-12-13 11:08:30.834151536 -0500

+ @@ -19,9 +19,7 @@

   

   

   def where():

  -    f = os.path.dirname(__file__)

- +    #f = os.path.dirname(__file__)

-  

+ -

  -    return os.path.join(f, 'cacert.pem')

- +    return os.path.join("/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem")

+ +    return '/etc/pki/tls/certs/ca-bundle.crt'

   

   

   def old_where():

+ Only in certifi-2018.10.15/certifi: core.py~

file modified
+5 -1

@@ -2,7 +2,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        2018.10.15

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Python package for providing Mozilla's CA Bundle

  

  License:        MPLv2.0

@@ -96,6 +96,10 @@ 

  %{python3_sitelib}/%{pypi_name}-*-py?.?.egg-info

  

  %changelog

+ * Thu Dec 13 2018  <jdennis@redhat.com> - 2018.10.15-3

+ - Resolves: rhbz#1659132 Incorrect location used for system certs

+   where() now returns /etc/pki/tls/certs/ca-bundle.crt

+ 

  * Fri Nov 02 2018 William Moreno Reyes <williamjmorenor@gmail.com> - 2018.10.15-2

  - Update spec to use %%pypi_source macro

  

where() now returns /etc/pki/tls/certs/ca-bundle.crt

Signed-off-by: John Dennis jdennis@redhat.com

Pull-Request has been merged by williamjmorenor

2 years ago