← Back to context

Comment by rocqua

4 days ago

The attestor gives you a credential once. You can think of it as a dob (in e.g. days since 1900) with a digital signature.

Then when you want to access something age gated, you locally generate a proof that says “I have a credential signed by X, with DoB N, and N < CutOff date” where X and the CutOff date are public but the credential and the value N are hidden through the ZkP.

The attestor isn’t involved so doesn’t learn anything. The Verifier only learns the public information, and generally won’t be able to tell if two proofs are made with the same credential.