Releases: eu-digital-identity-wallet/eudi-lib-ios-wallet-kit
Releases · eu-digital-identity-wallet/eudi-lib-ios-wallet-kit
v0.28.2
v0.28.1
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.keyAttestationFull Changelog: v0.28.0...v0.28.1
v0.28.0
What's Changed
- Add support for issuer metadata policy and update OpenID4VP dependency to v0.33.0 by @phisakel in #343
Configure Issuer Metadata Policy
When you need strict validation of issuer metadata signatures using certificate chains (such as IACA root certificates), you can configure the issuer's OpenId4VciConfiguration with a signed metadata policy:
// Create a certificate chain trust validator with IACA root certificates
let trust: CertificateChainTrust = TrustedChainValidator(iacaRoots: [eudic])
// Create an issuer metadata policy that requires signed metadata
let issuerMetadataPolicy: IssuerMetadataPolicy = .requireSigned(issuerTrust: .byCertificateChain(certificateChainTrust: trust))
// Configure the issuer with the strict signed metadata policy
let config = OpenId4VciConfiguration(credentialIssuerURL: "https://issuer.example.com", clientId: "my-wallet",
issuerMetadataPolicy: issuerMetadataPolicy)
**Full Changelog**: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-kit/compare/v0.27.0...v0.28.0v0.27.0
v0.26.0
v0.25.2
v0.25.1
v0.25.0
What's Changed
- fix: support for the backgroundImageURL for the credential. by @Ameenk149 in #335
Full Changelog: v0.24.1...v0.25.0
v0.24.1
v0.24.0
What's Changed
- Reorder DocClaims by issuer Metadata in toClaimsModel function by @phisakel in #326
- Prevent forwarding 'attestation proof type is supported' flag in case attestation is not required by @ishouldhaveknown in #325
- Update wallet storage and OpenID4VP dependency versions by @phisakel in #328
- Log warning for refresh token expired. Update OpenID4VCI library and refactor authorization code. by @phisakel in #329
- Add partial claims presentation support by @phisakel in #331
OpenID4VP Partial Claim Presentation
- Added
allowPresentingPartialClaimstoOpenId4VpConfigurationto let DCQL-based OpenID4VP presentations continue when some requested claims are missing from an otherwise matching credential. - When enabled, unavailable claims are skipped from the disclosed claim set instead of causing DCQL resolution to fail.
let openId4VpConfig = OpenId4VpConfiguration(
clientIdSchemes: [.x509SanDns, .x509Hash, .redirectUri],
allowPresentingPartialClaims: true
)New Contributors
- @ishouldhaveknown made their first contribution in #325
Full Changelog: v0.23.7...v0.24.0