---
title: Links and privacy
description: A card opens only for whoever holds its link, and the server never sees what's in it.
---

A card's link looks like this:

```text
https://cards.timmo.dev/c/<card>#<link key>.<content key>
```

Everything after the `#` stays in the browser, since browsers never send it
to the server.

- **The link key** says you may fetch the card. The viewer sends it in a
  header, never in an address, and the server keeps only its hash.
- **The content key** decrypts the card. It's never sent anywhere.

## Encryption

Each card has its own random key. The card and each picture or sound are
encrypted separately with AES-GCM, on your device, before they're uploaded.
The server stores only encrypted files.

To edit your cards on every device without the server learning their keys,
your devices share a vault key. Each card's key is stored on the server
encrypted with the vault key, and a new device gets the vault key when you
pair it.

## When a link stops working

You can give each person their own link, with an optional expiry, and remove
any link at any time. A wrong, removed or expired link all show the same
"This card isn't available", so nobody can tell which it was. Ten wrong tries
from one address lock it out for an hour.

Cards are kept until you delete them. Deleting a card removes its files and
all its links.

Opening a card sends you no notification.
