Pki-tools

Latest version: v1.0.0

Safety actively analyzes 623126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

1.0.0

What's Changed
* chore: add icon by fulder in https://github.com/fulder/pki-tools/pull/131
* test: use smokeshow for coverage by fulder in https://github.com/fulder/pki-tools/pull/132
* ci: run test workflow on main pushes by fulder in https://github.com/fulder/pki-tools/pull/133
* docs: fix links by fulder in https://github.com/fulder/pki-tools/pull/134
* chore(deps-dev): bump the dependencies group with 3 updates by dependabot in https://github.com/fulder/pki-tools/pull/135
* chore(deps): bump idna from 3.4 to 3.7 by dependabot in https://github.com/fulder/pki-tools/pull/137
* chore(deps): bump the dependencies group with 3 updates by dependabot in https://github.com/fulder/pki-tools/pull/138
* first stable release


**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.49...v1.0.0

0.0.49

What's Changed
* refactor: remove not needed `_crypto_object` calls by fulder in https://github.com/fulder/pki-tools/pull/129
* docs: Add DSAKeyPair warning box by fulder in https://github.com/fulder/pki-tools/pull/130


**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.48...v0.0.49

0.0.48

What's Changed
* fix: bugs with non RSA keys signing by fulder in https://github.com/fulder/pki-tools/pull/128
* **[BREAKING]** `OCSPResponse.sign(cert: Certificate, issuer: Certificate, algorithm: HashAlgorithm, private_key: CryptoPrivateKey)` parameters changed to `OCSPResponse.sign(cert: Certificate, issuer: Certificate, response_algorithm: SignatureAlgorithm, private_key: CryptoPrivateKey, signature_algorithm: Optional[SignatureAlgorithm] = None)`
* Fix bug with DSA keys dump having non string values
* Fix bug with DSA signed OCSP Response not validated correctly against the issuer
* Fix bugs with `Certificate.verify` function not working for non RSA keys
* Make `Certificate.sign` function `signature_algorithm` parameter Optional (for `ED448` and `ED25519` keys)
* Make `CertificateSigningRequest.sign` function `signature_algorithm` parameter Optional (for `ED448` and `ED25519` keys)
* **[BREAKING]** Change `CertificateRevocationList.sign` `algorithm` parameter from `HashAlgorithm` to and Optional `SignatureAlgorithm`



**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.47...v0.0.48

0.0.47

What's Changed
* fix: readme links by fulder in https://github.com/fulder/pki-tools/pull/126
* fix: skip empty cert extensions by fulder in https://github.com/fulder/pki-tools/pull/127


**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.46...v0.0.47

0.0.46

What's Changed
* fix: cryptography CRL cert revocation date property by fulder in https://github.com/fulder/pki-tools/pull/122
* chore(deps): bump the dependencies group with 3 updates by dependabot in https://github.com/fulder/pki-tools/pull/123
* chore(deps): bump the dependencies group with 1 update by dependabot in https://github.com/fulder/pki-tools/pull/124
* feat: improve `InitCryptoParser` abstract functions by fulder in https://github.com/fulder/pki-tools/pull/119
* `SubjectPublicKeyInfo` class used for the `Certificate` field.
* `Encoding` enum class used for storing and reading from/to files, defaulting to `PEM` format
* `KeyPair` class has been removed (partially replaced by the new `SubjectPublicKeyInfo`)
* `CryptoKeyPair` now contains a `private_key` and `public_key` extending new `CryptoPrivateKey` and `CryptoPublicKey` classes.
* **[BREAKING]** `OCSPResponse.sign` now requires a `CryptoPrivateKey` instead of `CryptoKeyPair`
* **[BREAKING]** `CryptoKeyPair.pem_private_key` changed into `CryptoKeyPair.private_key.pem_bytes` and `CryptoKeyPair.private_key.pem_string`
* **[BREAKING]** `CryptoKeyPair.pem_public_key` changed into `CryptoKeyPair.public_key.pem_bytes` and `CryptoKeyPair.public_key.pem_string`
* **[BREAKING]** `CryptoKeyPair.der_public_key` changed into `CryptoKeyPair.public_key.der_bytes`.
* **[BREAKING]** `CryptoKeyPair.private_key_to_file()` changed into `CryptoKeyPair.private_key.to_file()`.
* **[BREAKING]** `CryptoKeyPair.public_key_to_file()` changed into `CryptoKeyPair.public_key.to_file()`.
* **[BREAKING]** The following exceptions have been removed (and changed until more generic once):
* `CertLoadError` (use `LoadError`)
* `CrlLoadError` (use `LoadError`)
* `CsrLoadError` (use `LoadError`)
* `OcspIssuerFetchFailure` (use `FetchFailure`)
* `CrlFetchFailure` (use `FetchFailure`)
* `InvalidKeyType` (unused)
* Fix bug with `SubjectPublicKeyInfo` not being set when no public key was specified in `sign` function
* Fix bug with `Name` object parameters not being sorted in outputs
* Fix bug with `Validity` not allowing datetime without offset.
* Fix missing `pki_tools` package imports
* Fix minor bugs with printing objects
* Documentation updated with examples (run as part of the PR check) for all the different ways of creting and loading `InitCryptoParser` objects.
* feat: add new enum for EC names by fulder in https://github.com/fulder/pki-tools/pull/125
* **[BREAKING]** change EC `curve_name` from string into a new `EllipticCurveName` enum.


**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.45...v0.0.46

0.0.45

What's Changed
* docs: update readme with features by fulder in https://github.com/fulder/pki-tools/pull/120
* fix: bug loading multiple chain cerificates from same URI by fulder in https://github.com/fulder/pki-tools/pull/121


**Full Changelog**: https://github.com/fulder/pki-tools/compare/v0.0.44...v0.0.45

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.