Releases: fulder/pki-tools
Releases · fulder/pki-tools
v0.0.26
v0.0.25
v0.0.24
v0.0.23
What's Changed
- chore(deps-dev): bump urllib3 from 2.0.6 to 2.0.7 by @dependabot in #44
- chore(deps): bump the dependencies group with 1 update by @dependabot in #45
- chore(deps-dev): bump pytest from 7.4.2 to 7.4.3 by @dependabot in #50
- chore(deps-dev): bump pip from 23.2.1 to 23.3 by @dependabot in #51
- chore(deps): bump the dependencies group with 6 updates by @dependabot in #54
- feat: Parse certificate and extensions by @fulder in #52
- [BREKING]
pki_tools.cert_from_pem
moved toCertificate.from_pem_string
static class method - [BREKING]
pki_tools.get_cert_serial
moved toCertificate.serial_number
class property - [BREKING]
pki_tools.parse_subject
moved toCertificate.from_cryptography
static class method and once loaded theCertificate.subject
class property, returning aName
model, can be used instead - [BREKING]
pki_tools.pem_from_cert
moved toCertificate.pem_string
class property - [BREKING]
pki_tools.read_from_file
moved toCertificate.from_file
static class method - [BREKING]
pki_tools.read_many_from_file
moved toCertificates.from_file
static class method - [BREKING]
pki_tools.save_to_file
moved toCertificate.to_file
class method - [BREKING]
pki_tools.verify_signature
now requires the newCertificate
,CertificateRevocationList
orOCSPResponse
models forsigned
parameter andCertificate
for the issuer - [BREKING]
pki_tools.is_revoked
andpki_tools.is_revoked_multiple_issuers
now requires the newCertificate
andChain
models for the cert and chain parameters - All imports from
pki_tools
can now be imported using just the rootpki_tools
package. Meaning e.g. the oldfrom pki_tools.types import Chain
should now be changed tofrom pki_tools import Chain
instead - [BREKING]
PemCert
type has been removed, instead use thefrom_pem_string
static class methods
- [BREKING]
Full Changelog: v0.0.22...v0.0.23
v0.0.22
What's Changed
- chore: use httpx instead of requests by @fulder in #36
- chore(deps-dev): bump urllib3 from 2.0.4 to 2.0.6 by @dependabot in #38
- chore: change all info logs to debug by @fulder in #43
- chore(deps): bump the dependencies group with 3 updates by @dependabot in #42
Full Changelog: v0.0.21...v0.0.22
v0.0.21
What's Changed
- feat: remove types in chain factory by @fulder in #35
- [BREAKING] changes:
- Rename
Chain.from_pem
toChain.from_pem_str
- Change
Chain.from_pem_str
input param fromPemString
tostr
- Change
Chain.from_uri
input param fromChainUri
tostr
- Rename
- [BREAKING] changes:
Full Changelog: v0.0.20...v0.0.21
v0.0.20
v0.0.19
What's Changed
- chore(deps): bump cryptography from 41.0.3 to 41.0.4 by @dependabot in #28
- ci: change dependabot strategy to increase by @fulder in #29
- chore(deps): bump the dependencies group with 1 update by @dependabot in #30
- chore(deps-dev): bump the dependencies group with 2 updates by @dependabot in #31
- feat: verfiy signatures by @fulder in #32
- [BREAKING]
pki_tools.crl.is_revoked
function removed,pki_tools.is_revoked
should be used instead - [BREAKING]
pki_tools.ocsp.is_revoked
function removed,pki_tools.is_revoked
should be used instead - [BREAKING]
pki_tools.is_revoked
function now requires a chain parameter used to:- Verify the OCSP response signature
- Verify the CRL signature
- Find the certificate issuer in order to construct the OCSP request
- In order to make the signature verification even more secure, the chain certificates are also validated by checking all chain signatures and all validity periods
- [BREAKING]
- chore(deps): bump the dependencies group with 2 updates by @dependabot in #33
Full Changelog: v0.0.18...v0.0.19