Back to Raviolo

How Raviolo works

The page is locked once. Every person gets their own locked copy of the key that opens it.

From readable page to encrypted site and back On your computer, a content key encrypts the page. Anna's key and Bram's key each lock a copy of that content key. The locked file holds the encrypted page and both locked copies. In the browser, Bram's key opens Bram's copy, which gives the content key, which decrypts the page. Bram's key does not open Anna's copy. 1 Lock Your computer 2 Publish The locked file 3 Open Bram's browser Readable page encrypt Content key random, new each time Anna's key lock a copy Bram's key lock a copy Page and personal keys stay here. Encrypted page Anyone may download this Locked content key only Anna's key fits Locked content key only Bram's key fits No readable names, keys or text. decrypt Readable page Content key in memory only stays locked unlock Bram's key typed into the form The key is never sent anywhere. locks unlocks content key
  1. Lock

    AES-256-GCM encrypts the page with the content key. Each personal key goes through HKDF-SHA-256 and locks its own copy of the content key.

  2. Publish

    Only the encrypted file goes online. A short text can travel inside a link instead. Without a valid key, downloading it or viewing the source gives nothing readable.

  3. Open

    The browser tries the typed key on every locked copy. If one opens, it yields the content key, and the page is shown.

  4. Remove a key

    Lock the page again without that person. It gets a new content key. Replace the old file. Copies saved earlier still open with the old key.