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.
- {certapi-0.2.9 → certapi-0.3.0}/PKG-INFO +1 -1
- {certapi-0.2.9 → certapi-0.3.0}/setup.py +1 -1
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/Acme.py +3 -3
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/PKG-INFO +1 -1
- {certapi-0.2.9 → certapi-0.3.0}/MANIFEST.in +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/README.md +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/pyproject.toml +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/setup.cfg +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/__init__.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/certauthority.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/challenge.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/cloudflare_challenge_store.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/cloudflare_client.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/crypto.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/crypto_classes.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/custom_certauthority.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/db.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/digitalocean_challenge_store.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/digitalocean_client.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi/util.py +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/SOURCES.txt +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/dependency_links.txt +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/requires.txt +0 -0
- {certapi-0.2.9 → certapi-0.3.0}/src/certapi.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|