Skip to content

Releases: eu-digital-identity-wallet/eudi-lib-sdjwt-swift

v0.14.0

10 Mar 08:34
8999e3d

Choose a tag to compare

What's Changed

  • Check nonce in verification of key binding JWTs by @manpsarakis in #125
  • Enforced validation of critical security claims (nbf, exp, aud) in both issuance and presentation verification to prevent bypass vulnerabilities. by @manpsarakis in #131
  • Enhanced KB-JWT verification to properly validate audience (aud) and issued-at (iat) claims. by @manpsarakis in #133
  • Added DigestCollector utility to ensure all disclosure digests within an SD-JWT payload are unique, preventing digest collisions. by @manpsarakis in #136
  • Introduced DecoyConfiguration with per-object minimum decoy generation using cryptographically secure random number generation (SecureRandom). This replaces the previous global decoy limit for better privacy guarantees. by @manpsarakis in #136
  • Fixed sd_hash computation to correctly use the SD-JWT's specified hash algorithm by @manpsarakis in #139
  • KB-JWTs to use the same hash algorithm as the disclosures within by @manpsarakis in #140

Breaking Changes

  • Enveloped format support has been removed. The library now exclusively supports the compact presentation format as per the latest SD-JWT specifications by @manpsarakis in #138

Full Changelog: v0.13.1...v0.14.0

v0.13.1

02 Mar 07:45
c43f156

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.13.1

v0.13.0

04 Feb 11:51
a55fbaa

Choose a tag to compare

What's Changed

Breaking changes

  • Removal of JSON pointers from the public API
  • public typealias ClaimExtractorResult removes disclosuresPerClaim: case
  • Removal of public typealias DisclosuresPerClaim = [JSONPointer: [Disclosure]]
  • Removal of public func disclosedPaths() throws -> [JSONPointer] from public struct SignedSDJWT
  • Removal of public func present(query: Set<JSONPointer>, visitor: ClaimVisitor? = ClaimVisitor()) throws -> SignedSDJWT? from public struct SignedSDJWT
  • public enum ClaimPathError: Error removes invalidJsonPointerFormat case
  • protocol ClaimVisitorType removes all functions except func call(path: ClaimPath?, disclosure: Disclosure, value: String?)

Full Changelog: v0.12.1...v0.13.0

v0.12.1

21 Jan 09:14
77b21c5

Choose a tag to compare

What's Changed

Breaking changes

  • Minimum version to iOS15

  • Implements validation rules for type metadata inheritance
    New: mandatory: Bool property in ClaimMetadata
    Child types cannot relax parent security constraints:

    • mandatory=true cannot be changed to false
    • sd=always or sd=never cannot be changed
  • Aligns with SD-JWT VC draft 12 terminology

    • ClaimDisplay.lang → ClaimDisplay.locale
    • DisplayMetadata.lang → DisplayMetadata.locale

Removals

  • Removed JSON schema validation from type metadata

Full Changelog: v0.10.0...v0.12.1

v.0.12.0

20 Jan 10:08
6838da4

Choose a tag to compare

What's Changed

Breaking changes

  • Minimum version to iOS15

  • Implements validation rules for type metadata inheritance
    New: mandatory: Bool property in ClaimMetadata
    Child types cannot relax parent security constraints:

    • mandatory=true cannot be changed to false
    • sd=always or sd=never cannot be changed
  • Aligns with SD-JWT VC draft 12 terminology

    • ClaimDisplay.lang → ClaimDisplay.locale
    • DisplayMetadata.lang → DisplayMetadata.locale

Removals

  • Removed JSON schema validation from type metadata

Full Changelog: v0.10.0...v0.12.0

v0.10.0

19 Nov 11:10
324fba3

Choose a tag to compare

What's Changed

Breaking changes

  • Removed all DID related functionality
    • didUrl case in SdJwtVcIssuerPublicKeySource
    • Removal of LookupPublicKeysFromDIDDocument protocol
    • Removed did from VerificationMethod

New Contributors

Full Changelog: v0.9.2...v0.10.0

v0.9.1

09 Oct 07:13
8607070

Choose a tag to compare

What's Changed

New Contributors

Breaking changes

  • Renamed X509CertificateTrust to X509SDJWTVCCertificateTrust

Full Changelog: v0.8.0...v0.9.1

v0.9.0

08 Oct 12:02
d78c595

Choose a tag to compare

What's Changed

New Contributors

Breaking changes

  • Renamed X509CertificateTrust to X509SDJWTVCCertificateTrust

Full Changelog: v0.8.0...v0.9.0

v0.6.1

30 May 08:09
e0bee67

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

12 Feb 15:12
cea353c

Choose a tag to compare

What's Changed

  • SD-JWT-VC type metadata and claim path support by @dtsiflit in #51

Breaking changes

ClaimVisitor renamed to ClaimVisitorType
Visitor renamed to ClaimVisitor

disclosuresPerClaimPath added to ClaimExtractorResult

Now looks like this:

public typealias ClaimExtractorResult = (
digestsFoundOnPayload: [DigestType],
recreatedClaims: JSON,
disclosuresPerClaim: DisclosuresPerClaim?,
disclosuresPerClaimPath: DisclosuresPerClaimPath?
)

SDJWTError has new case error(String)

Full Changelog: v0.5.1...v0.6.0