Skip to content

6.1.0

Latest

Choose a tag to compare

@william-suppo william-suppo released this 17 Oct 06:55

Features

  • Add X509Certificate::getPublicKeyType() (#133)

Bug Fixes

  • Stop deriving the key algorithm from the certificate issuer (#123) (#133)
    • RSA certificates issued by an ECDSA CA (or any non-RSA CA) are now supported.
    • Non-RSA keys are rejected with an explicit Unsupported certificate public key type error, including EC certificates issued by an RSA CA.
    • KeyHelper::createPublicKey() no longer fails with Invalid Key Type for certificates issued with MD5.

Behaviour change

X509FileCredentialStore keeps the certificate issuer's algorithm as signing algorithm only when it is RSA-SHA256/384/512. Otherwise it signs with RSA-SHA256. Certificates issued with SHA-1 now sign with rsa-sha256 instead of rsa-sha1, and certificates issued with MD5 or by an ECDSA CA no longer crash.

Full Changelog: 6.0.1...6.1.0