Skip to main content

🔒 Encrypt Your Memories (Dashboard)

Turn on encryption from the dashboard and every new memory is encrypted with a key that belongs to your account alone. No code, and every MCP client on your account keeps working as before.

How it works​

  • Your own key. Turning encryption on makes a key for your account. It is used for your memories only.
  • Never stored whole. The key is split into 5 pieces, each held by a different Lighthouse key server. Any 3 pieces rebuild it; 1 or 2 are useless on their own.
  • Unlocked only in an enclave. Memories are encrypted and decrypted only inside a Phala enclave: a sealed area of the processor that proves which code it runs. The key servers hand out their pieces only to an approved build.
  • Search still works. Recall runs inside the enclave, so your AI apps search encrypted memories exactly as before.
  • No memory text in logs, and decrypted memories are cleared from the enclave's memory after 30 minutes idle.

What changes and what does not​

Encryption off (default)Encryption on
New memoriesStored as plain JSONEncrypted before they are stored
Search indexPlainEncrypted
Memories saved before turning it on-Unchanged (not re-encrypted)
Storage optionsLighthouse Storage, your bucket, Walrus MemoryThe same - all supported
MCP URL and client setup-Unchanged
Memory allowanceYour planYour plan - unchanged

Step 1 - Turn it on​

  1. Sign in to the dashboard and open Storage.
  2. Find the Encryption card under your Lighthouse Storage account and click Turn on encryption.
  3. Confirm with Yes, turn on encryption.

The card shows On with your key version and the date it was made. For a few seconds right after turning it on, it may show Setting up while the key is sent to the key servers; new memories can't be saved until it reads On.

Step 2 - Use your AI apps as usual​

Nothing else to set up. memory_remember, memory_recall and the other tools work the same way. Older memories (saved before you turned encryption on) are still found by search alongside the new ones.

What is encrypted, where​

StorageMemory filesSearch index
Lighthouse Storage (default)Encrypted before upload to IPFS / FilecoinEncrypted
Your own bucketEncrypted before upload to the bucketEncrypted (index/<namespace>.json holds a sealed copy plus the memory count)
Walrus Memory accountAlready encrypted by Walrus (SEAL); pinned copies and snapshots are encrypted tooEncrypted

Lighthouse Storage files are on public IPFS: anyone with a file's CID can fetch it. With encryption on, what they get is ciphertext.

Turn it off​

Click Turn off on the Encryption card and confirm. From then on:

Memories saved...Stored as
Before encryption was turned onUnencrypted, as they were
While encryption was onStill encrypted - nothing is decrypted in storage, and your key is kept so they still open
After turning it offUnencrypted. On Lighthouse Storage, anyone with a memory's CID can read it

Good to know:

  • The search index stays encrypted after turning off, because it also holds the text of the memories saved while encryption was on.
  • A memory file that holds any memory saved while encryption was on stays encrypted. Only files made entirely of memories saved after turning off are written unencrypted.
  • You can turn encryption back on at any time. It uses the same key.
  • Turning off is not available while your memories are stored in a Walrus Memory account.

If the key servers are unavailable​

Encrypted memories need at least 3 of the 5 key servers to open. If fewer answer, memory tools return an error such as Encryption service unavailable, try again until they are back. Nothing is ever saved unencrypted as a fallback, and an encrypted index is never treated as empty.

FAQ​

Are my existing memories encrypted when I turn it on? No. Only memories saved after turning it on. To have everything encrypted, turn it on before you save your first memory.

Can I export my key? Not from the dashboard today.

Does it change my memory limit or price? No. Your plan's allowance is unchanged.