Try the demo

Use cases

Prove your age, and nothing else

An assistant orders wine. The shop must check the buyer's age, and receives one fact signed by the buyer, over 18, instead of a scan of an identity card.

The person signs

Share with Vinea that you are over 18

Kind of approval
Prove a fact
Who decides
A buyer
Service
Vinea, an online wine shop
Level
L2
Capability
orders:age-check
State
Implemented and tested, not shown on the demo

A buyer asks their assistant to order a case of wine. The law requires the shop to check that the buyer is an adult. Today that means a box to tick, which proves nothing, or a photo of an identity card, which the shop then has to keep safe.

What happens

  1. The assistant fills the basket and calls checkout. Vinea's route for alcohol asks for one attribute, age_over_18, at level 2.
  2. Vinea answers 401 with a link and a code. The page shows the sentence and the attribute, with Vinea's purpose ("Selling alcohol is restricted by law") and its retention period.
  3. If the buyer's identity has never been checked, the page does it once: a national eID, an identity wallet or the chip of a passport. The result stays with the buyer's home node.
  4. The buyer signs with a passkey. The home node works out "over 18: yes" from the birth date and sends only that answer, encrypted to Vinea.
  5. The assistant retries. Vinea verifies the grant and the answer, and ships the order.

What Vinea learns

LearnsNever sees
That the buyer is over 18The birth date
That this was checked at level 2The name, unless it asks for it and the buyer agrees
That the buyer signed this, nowThe identity document or its photo

What cannot happen

  • The shop asks for the birth date when a yes or no is enough. A service must ask for the predicate when it suffices, and home nodes must support it.
  • The assistant answers for the buyer. The answer is issued by the home node and bound by hash to the grant the buyer signed. The assistant cannot read it or change it.
  • The proof is reused elsewhere. It is encrypted to Vinea and bound to this grant.

Other facts it works for

The same steps share a verified legal name, a nationality or an address, from level 2. Each one is listed on the page with its purpose, and the buyer chooses.

Next caseUpgrade a SaaS plan