Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: examples section #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

WIP: examples section #10

wants to merge 1 commit into from

Conversation

kimdhamilton
Copy link
Contributor

WIP examples, addresses #9


**Inputs**:
- `nullifierSeed` from Verifier (for application scoping)
- UIDAI-signed QR code (e-Aadhaar PDF/mAadhaar app) containing user identity data
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • UIDAI Public Key, corresponding to the signer Private Key

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a third parameter

- The UIDAI-signed timestamp in the QR code ensures the Aadhaar data is recent (e.g., ≤30 days old).
- Verifiers enforce validity windows (e.g., reject proofs with timestamps older than 30 days).
2. Prevent Proof Relay and Cross-Verifier Correlation: Nullifier and Nullifier Seed
- Verifier-specific `nullifierSeed` ensures unique `nullifier = SHA-256(nullifierSeed || photoBytes)`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can generalize here and specify nullifier = Hash(nullifierSeed || photoBytes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants