Skip to content

v0.0.23

Compare
Choose a tag to compare
@fulder fulder released this 05 Nov 14:25
· 90 commits to main since this release
f1d1285

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 to Certificate.from_pem_string static class method
    • [BREKING] pki_tools.get_cert_serial moved to Certificate.serial_number class property
    • [BREKING] pki_tools.parse_subject moved to Certificate.from_cryptography static class method and once loaded the Certificate.subject class property, returning a Name model, can be used instead
    • [BREKING] pki_tools.pem_from_cert moved to Certificate.pem_string class property
    • [BREKING] pki_tools.read_from_file moved to Certificate.from_file static class method
    • [BREKING] pki_tools.read_many_from_file moved to Certificates.from_file static class method
    • [BREKING] pki_tools.save_to_file moved to Certificate.to_file class method
    • [BREKING] pki_tools.verify_signature now requires the new Certificate, CertificateRevocationList or OCSPResponse models for signed parameter and Certificate for the issuer
    • [BREKING] pki_tools.is_revoked and pki_tools.is_revoked_multiple_issuers now requires the new Certificate and Chain models for the cert and chain parameters
    • All imports from pki_tools can now be imported using just the root pki_tools package. Meaning e.g. the old from pki_tools.types import Chain should now be changed to from pki_tools import Chain instead
    • [BREKING] PemCert type has been removed, instead use the from_pem_string static class methods

Full Changelog: v0.0.22...v0.0.23