Verify exact names offline with SD-JWT-VC and ZKP - #60
Draft
mashbean wants to merge 4 commits into
Draft
Conversation
added 4 commits
September 5, 2026 22:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The field government credentials available for this test do not expose a supported birth-date claim, so the age matrix could not exercise both credential families. The offline verifier now asks whether the signed full name is exactly
黃彥霖, using either a phone-number verification card or a self-issued derivative of the MyData digital ID.The verifier offers two distinct formats. SD-JWT-VC discloses the signed name with holder binding for direct comparison. The OpenAC ZKP path uses a new UTF-8 format-5 circuit that hashes all name bytes plus their length and binds the verifier's exact target as a public input; the proof package does not contain the credential name. The UI records the four comparable field cells N1–N4, and the request QR remains scannable in compact iPad windows.
Validation completed:
黃彥霖and rejected王小明; build-Mac proof time was 10,031 ms Prepare plus 131 ms Show.The branch remains experimental. The seven
openac-field-v2release assets are staged locally but are not published yet, so the remote SwiftPM dependency cannot resolve in CI. Paired airplane-mode N1–N4 acceptance and QR-to-judgment measurements are also pending; an installation alone is not device-flow evidence.