Skip to content

Releases: fulder/pki-tools

v0.0.26

06 Nov 14:27
2b6cbf9
Compare
Choose a tag to compare

What's Changed

  • fix: invalid typevar calls instead of cls by @fulder in #60

Full Changelog: v0.0.25...v0.0.26

v0.0.25

05 Nov 21:33
b8ab449
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.24...v0.0.25

v0.0.24

05 Nov 15:14
3bae4c8
Compare
Choose a tag to compare

What's Changed

  • docs: Fix readme function names by @fulder in #55
  • fix: Certificates loading crashing by @fulder in #56
  • fix: remove deprecated functions by @fulder in #57

Full Changelog: v0.0.23...v0.0.24

v0.0.23

05 Nov 14:25
f1d1285
Compare
Choose a tag to compare

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

v0.0.22

17 Oct 15:53
10174cd
Compare
Choose a tag to compare

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

28 Sep 18:00
c0fc1bf
Compare
Choose a tag to compare

What's Changed

  • feat: remove types in chain factory by @fulder in #35
    • [BREAKING] changes:
      • Rename Chain.from_pem to Chain.from_pem_str
      • Change Chain.from_pem_str input param from PemString to str
      • Change Chain.from_uri input param from ChainUri to str

Full Changelog: v0.0.20...v0.0.21

v0.0.20

27 Sep 12:39
4a7c39d
Compare
Choose a tag to compare

What's Changed

  • fix: Check OCSP issuer hash instead of responder by @fulder in #34

Full Changelog: v0.0.19...v0.0.20

v0.0.19

26 Sep 20:42
654ad84
Compare
Choose a tag to compare

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
  • chore(deps): bump the dependencies group with 2 updates by @dependabot in #33

Full Changelog: v0.0.18...v0.0.19

v0.0.18

21 Sep 17:26
c0916c4
Compare
Choose a tag to compare

What's Changed

  • test: catch loguru json issues by @fulder in #27
  • Fix invalid serial log

Full Changelog: v0.0.17...v0.0.18

v0.0.17

21 Sep 13:26
62b3af6
Compare
Choose a tag to compare

What's Changed

  • feat: add new serial parse func by @fulder in #26

Full Changelog: v0.0.16...v0.0.17