Skip to content

3.2.0

Compare
Choose a tag to compare
@JesusMcCloud JesusMcCloud released this 12 Jun 05:26
· 136 commits to main since this release
  • Kotlin 2.0
  • Gradle 8.8
  • Bouncy Castle 1.78.1
  • Kotest 5.9.1
  • Coroutines 1.8.1
  • Serialization 1.7.1-SNAPSHOT
  • KmmResult 1.6.2

Fixes

  • Move curve from CryptoAlgorithm to JwsAlgorithm
  • Don't assume curve information for the X.509 signature when, in fact, none exists
    • CryptoSignatures in X.509 are now indefinite length

Changes

  • Always DID-encode keys in compressed form (but keep decoding support)
  • Rename CryptoAlgorithm to X509SignatureAlgorithm to better describe what it is
    • Rename toCryptoAlgorithm to toX509SignatureAlgorithm accordingly
  • Rework CryptoSignature to two-dimensional interface:
    • CryptoSignature <- {EC <- {IndefiniteLength, DefiniteLength}, RsaOrHmac}
    • CryptoSignature <- {RawByteEncodable <- {EC.DefiniteLength, RsaOrHmac}, NotRawByteEncodable <- EC.IndefiniteLength}