Releases: fulder/pki-tools
Releases · fulder/pki-tools
v1.0.3
What's Changed
- chore(deps-dev): bump zipp from 3.16.2 to 3.19.1 by @dependabot in #161
- fix: update discord invite link by @fulder in #167
- chore(deps): bump certifi from 2023.7.22 to 2024.7.4 by @dependabot in #159
- Update pyproject.toml to bump cryptography version minimum by @pixitha in #166
New Contributors
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- chore(deps): bump the dependencies group across 1 directory with 2 updates by @dependabot in #146
- chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 in the dependencies group by @dependabot in #147
- chore(deps-dev): bump pytest from 8.2.0 to 8.2.1 in the dependencies group by @dependabot in #149
- chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 in the dependencies group by @dependabot in #148
- chore(deps-dev): bump ruff from 0.4.4 to 0.4.5 in the dependencies group by @dependabot in #150
- fix: update examples with new CAs by @fulder in #157
- chore(deps): bump the dependencies group across 1 directory with 4 updates by @dependabot in #156
- chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 in the dependencies group by @dependabot in #154
- chore(deps): bump pydantic from 2.7.4 to 2.8.0 in the dependencies group by @dependabot in #158
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 in the dependencies group by @dependabot in #140
- chore(deps-dev): bump the dependencies group with 2 updates by @dependabot in #139
- chore(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #144
- chore(deps): bump the dependencies group across 1 directory with 7 updates by @dependabot in #143
- chore(deps): bump actions/checkout from 4.1.3 to 4.1.4 in the dependencies group by @dependabot in #142
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- chore: add icon by @fulder in #131
- test: use smokeshow for coverage by @fulder in #132
- ci: run test workflow on main pushes by @fulder in #133
- docs: fix links by @fulder in #134
- chore(deps-dev): bump the dependencies group with 3 updates by @dependabot in #135
- chore(deps): bump idna from 3.4 to 3.7 by @dependabot in #137
- chore(deps): bump the dependencies group with 3 updates by @dependabot in #138
- first stable release
Full Changelog: v0.0.49...v1.0.0
v0.0.49
v0.0.48
What's Changed
- fix: bugs with non RSA keys signing by @fulder in #128
- [BREAKING]
OCSPResponse.sign(cert: Certificate, issuer: Certificate, algorithm: HashAlgorithm, private_key: CryptoPrivateKey)
parameters changed toOCSPResponse.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
functionsignature_algorithm
parameter Optional (forED448
andED25519
keys) - Make
CertificateSigningRequest.sign
functionsignature_algorithm
parameter Optional (forED448
andED25519
keys) - [BREAKING] Change
CertificateRevocationList.sign
algorithm
parameter fromHashAlgorithm
to and OptionalSignatureAlgorithm
- [BREAKING]
Full Changelog: v0.0.47...v0.0.48
v0.0.47
v0.0.46
What's Changed
- fix: cryptography CRL cert revocation date property by @fulder in #122
- chore(deps): bump the dependencies group with 3 updates by @dependabot in #123
- chore(deps): bump the dependencies group with 1 update by @dependabot in #124
- feat: improve
InitCryptoParser
abstract functions by @fulder in #119SubjectPublicKeyInfo
class used for theCertificate
field.Encoding
enum class used for storing and reading from/to files, defaulting toPEM
formatKeyPair
class has been removed (partially replaced by the newSubjectPublicKeyInfo
)CryptoKeyPair
now contains aprivate_key
andpublic_key
extending newCryptoPrivateKey
andCryptoPublicKey
classes.- [BREAKING]
OCSPResponse.sign
now requires aCryptoPrivateKey
instead ofCryptoKeyPair
- [BREAKING]
CryptoKeyPair.pem_private_key
changed intoCryptoKeyPair.private_key.pem_bytes
andCryptoKeyPair.private_key.pem_string
- [BREAKING]
CryptoKeyPair.pem_public_key
changed intoCryptoKeyPair.public_key.pem_bytes
andCryptoKeyPair.public_key.pem_string
- [BREAKING]
CryptoKeyPair.der_public_key
changed intoCryptoKeyPair.public_key.der_bytes
. - [BREAKING]
CryptoKeyPair.private_key_to_file()
changed intoCryptoKeyPair.private_key.to_file()
. - [BREAKING]
CryptoKeyPair.public_key_to_file()
changed intoCryptoKeyPair.public_key.to_file()
. - [BREAKING] The following exceptions have been removed (and changed until more generic once):
CertLoadError
(useLoadError
)CrlLoadError
(useLoadError
)CsrLoadError
(useLoadError
)OcspIssuerFetchFailure
(useFetchFailure
)CrlFetchFailure
(useFetchFailure
)InvalidKeyType
(unused)
- Fix bug with
SubjectPublicKeyInfo
not being set when no public key was specified insign
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 #125
- [BREAKING] change EC
curve_name
from string into a newEllipticCurveName
enum.
- [BREAKING] change EC
Full Changelog: v0.0.45...v0.0.46
v0.0.45
v0.0.44
What's Changed
- fix: bug with cert issuer after crypto dump by @fulder in #118
- chore(deps-dev): bump the dependencies group with 3 updates by @dependabot in #117
Full Changelog: v0.0.43...v0.0.44