certapi 1.0.4__tar.gz → 1.0.5__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-1.0.4/src/certapi.egg-info → certapi-1.0.5}/PKG-INFO +1 -1
- {certapi-1.0.4 → certapi-1.0.5}/setup.py +1 -1
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/client/cert_manager_client.py +2 -2
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/server/cert_api.py +2 -2
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/server/key_api.py +3 -3
- {certapi-1.0.4 → certapi-1.0.5/src/certapi.egg-info}/PKG-INFO +1 -1
- {certapi-1.0.4 → certapi-1.0.5}/MANIFEST.in +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/README.md +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/pyproject.toml +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/setup.cfg +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/Acme.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/AcmeError.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/Challenge.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/Order.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/acme/http.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/ChallengeSolver.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/FileSystemChallengeSolver.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/InmemoryChallengeSolver.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/cloudflare/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/cloudflare/cloudflare_challenge_solver.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/cloudflare/cloudflare_client.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/digitalocean/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/digitalocean/digitalocean_challenge_solver.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/digitalocean/digitalocean_client.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/client/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/crypto/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/crypto/crypto.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/crypto/crypto_classes.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/errors.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/http/HttpClientBase.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/http/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/http/types.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/issuers/AcmeCertIssuer.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/issuers/SelfCertIssuer.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/issuers/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/issuers/abstract_certissuer.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/FileSystemKeyStore.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/KeyStore.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/PostgresqlKeyStore.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/RemoteKeyStore.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/SqliteKeyStore.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/keystore/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/manager/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/manager/acme_cert_manager.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/server/__init__.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/server/api.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/util.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi/utils.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi.egg-info/SOURCES.txt +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi.egg-info/dependency_links.txt +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi.egg-info/requires.txt +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/src/certapi.egg-info/top_level.txt +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/tests/test_acme_error_handling.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/tests/test_cert_issuer_generic.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/tests/test_certs_with_key_types.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/tests/test_http_error_handling.py +0 -0
- {certapi-1.0.4 → certapi-1.0.5}/tests/test_keystores.py +0 -0
|
@@ -69,7 +69,7 @@ class CertManagerClient:
|
|
|
69
69
|
params["renew_threshold_days"] = renew_threshold_days
|
|
70
70
|
params["skip_failing"] = skip_failing
|
|
71
71
|
|
|
72
|
-
data = self._get("/obtain", params=params)
|
|
72
|
+
data = self._get("/api/obtain", params=params)
|
|
73
73
|
res = CertificateResponse.from_json(data)
|
|
74
74
|
|
|
75
75
|
if self.key_store:
|
|
@@ -93,7 +93,7 @@ class CertManagerClient:
|
|
|
93
93
|
csr_pem = csr
|
|
94
94
|
|
|
95
95
|
response = requests.post(
|
|
96
|
-
f"{self.base_url}/sign_csr", data=csr_pem, headers={"Content-Type": "application/x-pem-file"}
|
|
96
|
+
f"{self.base_url}/api/sign_csr", data=csr_pem, headers={"Content-Type": "application/x-pem-file"}
|
|
97
97
|
)
|
|
98
98
|
response.raise_for_status()
|
|
99
99
|
return response.text
|
|
@@ -34,7 +34,7 @@ def create_cert_resources(cert_ns, key_store):
|
|
|
34
34
|
cert_list_parser = reqparse.RequestParser()
|
|
35
35
|
cert_list_parser.add_argument("domain", type=str, help="Filter certificates by domain")
|
|
36
36
|
|
|
37
|
-
@cert_ns.route("/
|
|
37
|
+
@cert_ns.route("/")
|
|
38
38
|
class CertList(Resource):
|
|
39
39
|
@cert_ns.doc("list_certs")
|
|
40
40
|
@cert_ns.expect(cert_list_parser)
|
|
@@ -94,7 +94,7 @@ def create_cert_resources(cert_ns, key_store):
|
|
|
94
94
|
except Exception as e:
|
|
95
95
|
cert_ns.abort(500, f"Error saving certificate: {e}")
|
|
96
96
|
|
|
97
|
-
@cert_ns.route("
|
|
97
|
+
@cert_ns.route("/<string:cert_id>")
|
|
98
98
|
@cert_ns.param("cert_id", "The certificate identifier")
|
|
99
99
|
class CertById(Resource):
|
|
100
100
|
@cert_ns.doc("get_cert_by_id")
|
|
@@ -23,7 +23,7 @@ def create_key_resources(key_ns, key_store):
|
|
|
23
23
|
},
|
|
24
24
|
)
|
|
25
25
|
|
|
26
|
-
@key_ns.route("/
|
|
26
|
+
@key_ns.route("/")
|
|
27
27
|
class KeyList(Resource):
|
|
28
28
|
@key_ns.doc("list_keys")
|
|
29
29
|
@key_ns.marshal_list_with(key_model)
|
|
@@ -49,7 +49,7 @@ def create_key_resources(key_ns, key_store):
|
|
|
49
49
|
except Exception as e:
|
|
50
50
|
key_ns.abort(500, f"Error saving key: {e}")
|
|
51
51
|
|
|
52
|
-
@key_ns.route("
|
|
52
|
+
@key_ns.route("/<string:key_id>")
|
|
53
53
|
@key_ns.param("key_id", "The key identifier")
|
|
54
54
|
class KeyById(Resource):
|
|
55
55
|
@key_ns.doc("get_key_by_id")
|
|
@@ -62,7 +62,7 @@ def create_key_resources(key_ns, key_store):
|
|
|
62
62
|
else:
|
|
63
63
|
key_ns.abort(404, message="Key not found")
|
|
64
64
|
|
|
65
|
-
@key_ns.route("/
|
|
65
|
+
@key_ns.route("/name/<string:name>")
|
|
66
66
|
@key_ns.param("name", "The key name")
|
|
67
67
|
class KeyByName(Resource):
|
|
68
68
|
@key_ns.doc("get_key_by_name")
|
|
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
|
{certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/cloudflare/cloudflare_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certapi-1.0.4 → certapi-1.0.5}/src/certapi/challenge_solver/dns/digitalocean/digitalocean_client.py
RENAMED
|
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
|
|
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
|