---
title: "Verifying your age in a privacy preserving manner"
url: https://daily.dev/posts/verifying-your-age-in-a-privacy-preserving-manner-bt6nvpq9g
source_url: https://adayinthelifeof.nl/2026/04/27/sd-jwt.html
type: article
source: "A Day in the Life Of"
published: 2026-04-27T10:56:59.436Z
updated: 2026-05-07T02:14:01.112Z
tags: ["authentication", "jwt", "privacy", "zero-knowledge-proofs"]
reading_time: 6
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Verifying your age in a privacy preserving manner

**[A Day in the Life Of](https://daily.dev/sources/adayinthelife)** · 6 min read · 0 upvotes · 0 comments

## Summary

Selective Disclosure JWT (SD-JWT) offers a privacy-preserving approach to age verification. Instead of sharing full identity documents, a government or trusted issuer signs a JWT containing only hashes of individual claims (e.g., age_over_18, birthdate, country). When a website asks if a user is old enough, the user reveals only the specific disclosure — the salt, claim name, and value — for that one claim. The verifier reconstructs the hash and checks it against the JWT, confirming the claim without learning anything else. Drawbacks include potential cross-site correlation if the same credential is reused, and the inability to answer questions not pre-baked into the credential (e.g., 'is user over 25?'), which would require zero-knowledge proofs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://adayinthelifeof.nl/2026/04/27/sd-jwt.html>

## Similar posts on daily.dev

- [What's wrong with EU age verification?](https://daily.dev/posts/what-s-wrong-with-eu-age-verification--zn6fmnylr) · Lobsters · 0 upvotes · 0 comments
- [Online age-verification tools spread across U.S. for child safety, but adults are being surveilled](https://daily.dev/posts/online-age-verification-tools-spread-across-u-s-for-child-safety-but-adults-are-being-surveilled-o7okc8c08) · Hacker News · 0 upvotes · 0 comments
- [Age Verification: Protection Tool or Surveillance in Disguise?](https://daily.dev/posts/age-verification-protection-tool-or-surveillance-in-disguise--btat0kcty) · It's Foss · 1 upvotes · 0 comments
- [The limits of zero-knowledge for age-verification](https://daily.dev/posts/the-limits-of-zero-knowledge-for-age-verification-ju0r1px1e) · Brave · 1 upvotes · 0 comments
- [So, You’ve Hit an Age Gate. What Now?](https://daily.dev/posts/so-you-ve-hit-an-age-gate-what-now--sxe6igdvx) · Hacker News · 1 upvotes · 0 comments

---

Tags: [#authentication](https://daily.dev/tags/authentication), [#jwt](https://daily.dev/tags/jwt), [#privacy](https://daily.dev/tags/privacy), [#zero-knowledge-proofs](https://daily.dev/tags/zero-knowledge-proofs)

[View this post on daily.dev](https://daily.dev/posts/verifying-your-age-in-a-privacy-preserving-manner-bt6nvpq9g)
