Skip to content

0.3.3-SNAPSHOT - support for ES256

Choose a tag to compare

@jann0k jann0k released this 06 Feb 12:17
· 5 commits to master since this release
4577650

[0.3.3-SNAPSHOT] Improvements to 0.3.2-SNAPSHOT

Changes

  • Add slf4j-api and change logback-classic scope to test.

[0.3.2-SNAPSHOT] Bugfixes 0.3.1-SNAPSHOT

Bug Fixes

  • Fix "java.lang.ClassNotFoundException: org.bouncycastle.cert.jcajce.JcaX509CertificateHolder"
    when validating "ES256" JWT tokens. Nimbus library depends (optional) on
    org.bouncycastle:bcpkix-jdk18on:1.80 when parsing certificates with EC keys.

[0.3.1-SNAPSHOT] Improvements to 0.3.0-SNAPSHOT

Changes

  • add EtsiIdentifier.PREFIX const
  • make AuthTokenCreator.sign(JWSSigner, JWSAlgorithm) public to support JWSSigner with multiple algorithms.

Bug Fixes

  • Fix EtsiIdentifierTests
  • When verifying auth-token with EC certificate, determine EC curve from certificate instead of using hard-coded P256
  • Previously first RSA JWSAlgorithm was selected from JWSSigner supported algorithms (that happened to be RS256).
    RSA JWT algorithm must now be explicitly specified or JWSSigner must support single algorithm (like SIDAuthJWSSigner does)

[0.3.0-SNAPSHOT] Support for signing with EC keys

Features

  • Support for signing and verifying auth-token with EC keys (ES256) to support Mobile-ID