certapi 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certapi
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python Package for managing keys, request SSL certificates from ACME.
5
5
  Home-page: https://github.com/mesudip/certapi
6
6
  Author: Sudip Bhattarai
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="certapi",
5
- version="0.2.1",
5
+ version="0.2.2",
6
6
  packages=find_packages(where="src"),
7
7
  package_dir={"": "src"},
8
8
  install_requires=[
@@ -191,8 +191,9 @@ class FilesystemKeyStore(KeyStore):
191
191
  key_path = os.path.join(self.keys_dir, f"{private_key_id}.key")
192
192
  with open(key_path, "rb") as f:
193
193
  key_content = f.read()
194
+
194
195
  for domain in domains:
195
- if name.endswith(".selfsigned"):
196
+ if name is not None and name.endswith(".selfsigned"):
196
197
  domain = domain + ".selfsigned"
197
198
 
198
199
  if domain != private_key_id:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certapi
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python Package for managing keys, request SSL certificates from ACME.
5
5
  Home-page: https://github.com/mesudip/certapi
6
6
  Author: Sudip Bhattarai
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes