Skip to content

v0.28.1

Choose a tag to compare

@phisakel phisakel released this 06 May 07:29
· 48 commits to main since this release
c2399c2

What's Changed

  • Add createKeyBatchWithAttestation method and corresponding tests for key generation and attestation by @phisakel in #345

Added EudiWallet createKeyBatchWithAttestation method to create a batch of keys with a single attestation:

let result = try await wallet.createKeyBatchWithAttestation(
  issuerName: "attested_issuer",
  id: UUID().uuidString,
  credentialOptions: CredentialOptions(credentialPolicy: .rotateUse, batchSize: 2),
  keyOptions: KeyOptions(secureAreaName: SoftwareSecureArea.name, curve: .P256),
  nonce: "issuer-provided-nonce"
)

let keys = result.keys
let keyAttestationJwt = result.keyAttestation

Full Changelog: v0.28.0...v0.28.1