certapi 0.2.9__tar.gz → 0.3.0__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.
Files changed (24) hide show
  1. {certapi-0.2.9 → certapi-0.3.0}/PKG-INFO +1 -1
  2. {certapi-0.2.9 → certapi-0.3.0}/setup.py +1 -1
  3. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/Acme.py +3 -3
  4. {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/PKG-INFO +1 -1
  5. {certapi-0.2.9 → certapi-0.3.0}/MANIFEST.in +0 -0
  6. {certapi-0.2.9 → certapi-0.3.0}/README.md +0 -0
  7. {certapi-0.2.9 → certapi-0.3.0}/pyproject.toml +0 -0
  8. {certapi-0.2.9 → certapi-0.3.0}/setup.cfg +0 -0
  9. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/__init__.py +0 -0
  10. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/certauthority.py +0 -0
  11. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/challenge.py +0 -0
  12. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/cloudflare_challenge_store.py +0 -0
  13. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/cloudflare_client.py +0 -0
  14. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/crypto.py +0 -0
  15. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/crypto_classes.py +0 -0
  16. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/custom_certauthority.py +0 -0
  17. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/db.py +0 -0
  18. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/digitalocean_challenge_store.py +0 -0
  19. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/digitalocean_client.py +0 -0
  20. {certapi-0.2.9 → certapi-0.3.0}/src/certapi/util.py +0 -0
  21. {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/SOURCES.txt +0 -0
  22. {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/dependency_links.txt +0 -0
  23. {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/requires.txt +0 -0
  24. {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certapi
3
- Version: 0.2.9
3
+ Version: 0.3.0
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.9",
5
+ version="0.3.0",
6
6
  packages=find_packages(where="src"),
7
7
  package_dir={"": "src"},
8
8
  install_requires=[
@@ -321,7 +321,7 @@ class Order:
321
321
  self.url = url
322
322
  self._data = data
323
323
  self.all_challenges = challenges
324
- self._acme = acme
324
+ self._acme:Acme = acme
325
325
  self.status = "pending"
326
326
 
327
327
  def remaining_challenges(self) -> List["Challenge"]:
@@ -344,7 +344,7 @@ class Order:
344
344
  certificate_res = self._acme._signed_req(
345
345
  self._data["certificate"], step="Get Certificate from Successful Order"
346
346
  )
347
- certificate = crypto.x509.load_pem_x509_certificates(certificate_res.content)
347
+ certificate = crypto.x509.load_pem_x509_certificates(certificate_res.text)
348
348
  return (certificate_res.content, certificate)
349
349
 
350
350
  def finalize(self, csr: CertificateSigningRequest):
@@ -365,7 +365,7 @@ class Challenge:
365
365
  self._acme = acme
366
366
  self._data = data
367
367
  challenge = self.get_challenge()
368
- self.token = challenge["token"]
368
+ self.token:str = challenge["token"]
369
369
  self.verified = challenge["status"] == "valid"
370
370
  self.domain = data["identifier"]["value"] # Add domain attribute
371
371
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certapi
3
- Version: 0.2.9
3
+ Version: 0.3.0
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