// security · who can see what
Encrypted on your device. Here is exactly what is not.
Semora is a prototype. This page lists what each part can see, how the encryption works, and what it does not protect against.
| what | you | the server | a paired app | Robinhood Chain |
|---|---|---|---|---|
| Folder names and notes | yes | no (ciphertext) | only granted folders | no |
| Passphrase and vault name | yes (typed) | no | no | no |
| Vault id, folder ids, versions | yes | yes | its own grant's | folder id hashes, if recorded |
| Sizes of folders and grants | yes | yes | its own | optional (commit size) |
| When a vault was saved, read, shared | yes | yes (access log) | its own reads | seals and grants you record |
| Which app key has which grant | yes | yes | its own | if you record the grant |
| Proposal text | yes (after opening) | no (sealed to you) | what it wrote | a hash, if recorded |
| Your IP address | — | the web host's request logs | no | no |
| Your wallet address | if connected | no | no | yes, for anything you record |
// how it works Prototype
- Keys: PBKDF2-HMAC-SHA256, 600,000 rounds, over your passphrase with the vault name as salt; HKDF-SHA256 splits the result into a data key, a signing key (Ed25519) and a receiving key (X25519).
- Folders: AES-256-GCM, a fresh 96-bit IV per save, the vault and folder ids as additional data (a box cannot be moved to another folder).
- Grants: the folder is sealed to the app's X25519 key (ephemeral X25519 + HKDF + AES-GCM). Proposals are sealed the same way to your key.
- Requests: every vault and app request is signed with Ed25519 over method, path, time and body hash; replays within 5 minutes are refused.
- Pairing: the app's code carries its signature over a fresh nonce; the server lets a vault grant to an app only with that consent (each code once, 7 days).
- Code: all of it runs in the open source in the repository (one crypto file shared by the site and the sample app).
// what it does not protect against
- A weak passphrase. Anyone holding your ciphertext (the operator, a stolen export) can try guesses offline. Use the generator (about 125 bits).
- A paired app keeping what it already read. Revoke stops the next request, not copies the app made. Share only what an app needs.
- A compromised browser, extension or device while the vault is open.
- The site's own code being changed by whoever serves it. A hosted web app is trusted each time it loads; run it yourself from the source to remove that trust.
- An operator leaving entries out of the access log before you seal it. A seal proves entries were not changed afterwards, not that the log is complete.
- Metadata: the server sees sizes, times and which app reads which grant; the web host sees IP addresses.
- Lost passphrase or vault name: there is no recovery. Keep an export and the passphrase somewhere safe.
// wallet-signature keys
Keys come from a passphrase, not from a wallet signature: a wallet is optional here, and some wallets do not sign the same message the same way every time. Deriving vault keys from a wallet signature is Concept.