github a-sit-plus/signum 3.18.0
3.18.0 / Supreme 0.10.0

17 hours ago
  • Fixes:
    • Fix memleak on iOS targets
    • Add stricter length checks to be more resilient towards adversarial inputs
    • Fix RSA signing on Android
    • Correct serialization logic for symmetric CoseKey in CoseKeySerializer
    • Fix prettyPrint for structures
  • Asn1String revamp
    • Deprecated Asn1Primitive.asAsn1String(), moved decoding logic into Asn1String.doDecode()
    • Added specific decodeTo functions in Asn1Primitive for every string type that follow usual pattern for decoding primitive, when dealing with implicit tags caller should call function for decoding specific string type. If we do something like 'Asn1String.decodeFromTlv()` we expect explicit tag.
    • Added Asn1String.rawValue property for storing raw ByteArray of the string, used in checks for several charsets and good for reencoding Asn1String, it will be encoded as it was before decoding
  • Add COSE_Mac0 support with CoseMac class
  • Introduce ProtectedCoseHeaderSerializer for serialization/deserialization protected header
  • Replace raw-byte protected header and its ByteArray extension serialization with CoseHeader using the new serializer
  • Allow overriding randomness source for symmetric key generation
    • requires HazMat opt in
    • provides only secure random (insecure/test/faux RNGs need to be implemented by consumers)
  • Extend properties in JweHeader
  • Strictly enforce RFC3394 key wrapping on Android
  • Build Setup:
    • Kotlin 2.2.20
    • TestBalloon-powered tests
    • New KMP-AGP Plugin
    • Raise Android minSDK to 26 (Android 8.0 Oreo)
    • Make it possible to disable all apple targets by setting Gradle property disableAppleTargets=true (either through gradle.properties/local.properties or as env variable)
    • Auto-setup unsupported JVM toolchains

Don't miss a new signum release

NewReleases is sending notifications on new releases.