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