[WAL-1206] feat(wallet): support x509_hash request authentication on iOS#1940
[WAL-1206] feat(wallet): support x509_hash request authentication on iOS#1940szijpeter wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
960c97f to
ef8ab6d
Compare
ef8ab6d to
af59332
Compare
|



Summary
Follow-up to #1885 that restores its disabled native iOS EHIC integration coverage. The corresponding Android scenarios are now re-enabled directly in #1885.
The iOS failure is not an intermittent EUDI verifier limitation: iOS did not advertise or authenticate the verifier's
x509_hashclient ID because PKIX certificate-path validation was marked unsupported. This draft implements native validation withSecurity.framework, updates the stale iOS EUDI trust anchor, and re-enables the native iOS EHIC scenarios.Changes
SecTrust, including explicit, chain-provided, and system trust anchors plus optional revocation policyWalletConfigurationSecTrust-dependent common tests on supported runners while excluding them from the standalone iOS Kotlin/Native executable, where Apple trust evaluation returnsOSStatus -26276PID Issuer CA 02anchorCoordination
This overlaps with the broader X.509 utility work in #1901. That PR currently does not provide the iOS
SecTrustpath, so this draft is intended as a concrete implementation and integration proof that can either be incorporated there or kept as the focused follow-up to #1885.Caveat
SecTrustevaluation does not work reliably from the standalone Kotlin/Native.kexe, so the affected common tests are excluded there. Equivalent trusted and untrusted Request Object validation is covered by app-hosted XCTest in the native iOS demo, through the public SwiftWalletSDKfacade. This remains a draft while the ownership split with #1901 is agreed.