// 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.

whatyouthe servera paired appRobinhood Chain
Folder names and notesyesno (ciphertext)only granted foldersno
Passphrase and vault nameyes (typed)nonono
Vault id, folder ids, versionsyesyesits own grant'sfolder id hashes, if recorded
Sizes of folders and grantsyesyesits ownoptional (commit size)
When a vault was saved, read, sharedyesyes (access log)its own readsseals and grants you record
Which app key has which grantyesyesits ownif you record the grant
Proposal textyes (after opening)no (sealed to you)what it wrotea hash, if recorded
Your IP address—the web host's request logsnono
Your wallet addressif connectednonoyes, 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.