Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Redirect Locker Paste page; cross-link 2of3 with Legacy Kit and Shamir

Manav Rathicd20fa6e109f
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts
index b2913a1437..2f4d2acdab 100644
--- a/docs/docs/.vitepress/sidebar.ts
+++ b/docs/docs/.vitepress/sidebar.ts
@@ -482,10 +482,6 @@ export const sidebar = [
text: "Public links",
link: "/locker/features/sharing/public-links",
},
- {
- text: "Ente Paste",
- link: "/locker/features/sharing/ente-paste",
- },
],
},
{
diff --git a/docs/docs/2of3/faq.md b/docs/docs/2of3/faq.md
index 6bef934d28..64d2d63a6b 100644
--- a/docs/docs/2of3/faq.md
+++ b/docs/docs/2of3/faq.md
@@ -173,13 +173,15 @@ If the underlying secret needs to change, generate a fresh set of three cards fr
## Comparison and scope
-### How is this different from a Legacy Kit or Ente's account recovery? {#2of3-vs-legacy-kit}
+### How is this different from Legacy Kit? {#2of3-vs-legacy-kit}
-[Ente's Legacy](/locker/features/legacy/) is an account-level feature: trusted contacts (and Legacy Kits) can request access to your Ente account after a waiting period. It is integrated with Ente, requires a server, and is built around the lifecycle of a person's account.
+[Legacy Kit](/locker/features/legacy/legacy-kits) and 2of3 both use the same Shamir 2-of-3 math. The difference is what sits around the math.
-2of3 is a single-purpose tool that operates on _any_ piece of text. It has no account, no server, and no concept of "your account". You can use it to back up an Ente recovery key, but you can also use it to back up a Bitcoin seed phrase, a LUKS recovery passphrase, or anything else. The trade-off: 2of3 has no time-delay protection, no notifications, and no concept of "who is the rightful owner". Anyone with two cards reconstructs the secret.
+**Legacy Kit** is the version we ship for Ente accounts. It is server-mediated, so kits can be revoked if a sheet is lost or stolen; recovery has a configurable waiting period during which you can block it; and the helper does not need an Ente account. If you want someone to be able to recover your Ente account without you around, Legacy Kit is the right tool.
-Use Legacy if you want an account-aware, time-delayed inheritance flow tied to Ente. Use 2of3 when you want a generic split-and-recover that works on any secret and survives any one place failing.
+**2of3** is the standalone version. It works on any piece of text (a Bitcoin seed phrase, a full-disk encryption key, a non-Ente recovery code) without needing an Ente account or a server. The trade-off is that 2of3 has no revocation, no waiting period, and no notion of "the rightful owner": anyone with any two cards reconstructs the secret immediately.
+
+2of3 stays useful when you want the same split-and-recover guarantee for a non-Ente secret, or when you want recovery to depend on nothing but the cards themselves.
### How is this different from a password manager? {#2of3-vs-password-manager}
diff --git a/docs/docs/2of3/how-it-works.md b/docs/docs/2of3/how-it-works.md
index b02c5fa2ba..0c8c17a846 100644
--- a/docs/docs/2of3/how-it-works.md
+++ b/docs/docs/2of3/how-it-works.md
@@ -11,6 +11,10 @@ This page explains what is actually happening when 2of3 splits a secret into thr
2of3 is built on **Shamir secret sharing**, a classic cryptographic scheme from 1979. The version 2of3 uses is the simplest interesting case: split a secret into three shares such that any two shares reconstruct the original, and any one share alone leaks nothing.
+> [!TIP]
+>
+> If you want a visual walkthrough first, see the blog post [How Shamir's Secret Sharing Works](https://ente.com/blog/how-shamirs-secret-sharing-works). The rest of this section covers the same idea in text, with the specifics of what 2of3 does.
+
The intuition is a straight line through two points. Pick any line through the y-axis. The y-intercept is your "secret". The slope is a random number you throw away after using it. Now pick three different x values (say x = 1, 2, 3) and compute the corresponding y values on that line. Each (x, y) pair is one "share".
- Give someone any **one** share (one point on the line), and they can draw infinitely many lines through it. They learn nothing about the y-intercept.
@@ -29,7 +33,9 @@ GF(256) multiplication uses the standard AES polynomial (`0x11b`). Two of those
> [!NOTE]
>
-> 2of3 specifically implements the 2-of-3 case for clarity and simplicity. If you want general-purpose k-of-n Shamir sharing for a research project, look at SLIP-0039 or similar standards. 2of3's job is to make 2-of-3 friction-free for normal people, not to be a general crypto library.
+> 2of3 specifically implements the 2-of-3 case for clarity and simplicity. The same scheme also powers Ente's [Legacy Kit](/locker/features/legacy/legacy-kits), the version we ship for Ente accounts: it adds a server-mediated, revocable recovery flow tied to your Ente account on top of the same 2-of-3 math.
+>
+> If you want general-purpose k-of-n Shamir sharing for a research project, look at SLIP-0039 or similar standards. 2of3's job is to make 2-of-3 friction-free for normal people, not to be a general crypto library.
## What is on a card
diff --git a/docs/docs/2of3/index.md b/docs/docs/2of3/index.md
index 387c4be0a1..1608c9a20a 100644
--- a/docs/docs/2of3/index.md
+++ b/docs/docs/2of3/index.md
@@ -27,6 +27,12 @@ The in-app examples are a good guide:
Concretely, people use 2of3 for things like Ente recovery keys, password manager master passwords, crypto wallet recovery phrases, full-disk encryption keys, and 2FA backup codes that they do not want to keep in only one drawer.
+> [!NOTE]
+>
+> If the secret is your Ente account recovery key specifically, consider [Legacy Kit](/locker/features/legacy/legacy-kits) instead. Legacy Kit is the version we ship for Ente accounts. It is built on the same 2-of-3 Shamir math but adds a configurable waiting period, the ability to revoke sheets if one is lost, and a server-mediated recovery flow tied to your Ente account.
+>
+> 2of3 stays useful when you want the same split-and-recover guarantee for a non-Ente secret, or when you want recovery to depend on nothing but the cards themselves.
+
## How a card works
When you enter a secret, 2of3 generates three cards in your browser. Each card carries:
diff --git a/docs/docs/locker/features/legacy/legacy-kits.md b/docs/docs/locker/features/legacy/legacy-kits.md
index 22f6d9a2e0..17ed1b9ee0 100644
--- a/docs/docs/locker/features/legacy/legacy-kits.md
+++ b/docs/docs/locker/features/legacy/legacy-kits.md
@@ -17,6 +17,8 @@ During recovery, the helper combines any 2 sheets in a browser. The browser reco
The server never sees the kit secret, the sheet contents, or your decrypted recovery key.
+The split uses Shamir's 2-of-3 secret sharing. Legacy Kit is the version we ship for Ente accounts: it adds the server-mediated, revocable recovery flow that account inheritance needs on top of the same 2-of-3 math. The same scheme is also available as a standalone web app at [2of3](/2of3/), which works on any text-based secret without an Ente account. For a visual walkthrough of the math, see [How Shamir's Secret Sharing Works](https://ente.com/blog/how-shamirs-secret-sharing-works).
+
## Create a Legacy Kit
Legacy Kit creation and management are available in Ente Locker on mobile.
diff --git a/docs/docs/locker/features/sharing/ente-paste.md b/docs/docs/locker/features/sharing/ente-paste.md
index afcfa439cf..2f2c5330e4 100644
--- a/docs/docs/locker/features/sharing/ente-paste.md
+++ b/docs/docs/locker/features/sharing/ente-paste.md
@@ -1,30 +1,19 @@
---
title: Ente Paste
-description: Share sensitive text with one-time, end-to-end encrypted links
+description: Ente Paste documentation has moved to its own section
+head:
+ - - meta
+ - name: robots
+ content: noindex
---
# Ente Paste
-Ente Paste lets you share short sensitive text (keys, snippets, notes) using a one-time, end-to-end encrypted link.
+Ente Paste now has its own documentation section: **[Ente Paste](/paste/)**.
-Open [paste.ente.com](https://paste.ente.com), paste your text, and share the generated link.
+This page is kept as a redirect for older links. The full documentation lives at:
-## How it works
-
-1. Your text is encrypted on your device.
-2. Ente stores only ciphertext.
-3. The decryption key stays in the URL fragment (`#...`) and is not sent to Ente's servers.
-4. The link can be opened once.
-
-After a successful open, the paste is deleted. If it is never opened, it expires after 24 hours.
-
-## Limits
-
-- Maximum text length: 4000 characters.
-- Anonymous usage: no Ente account required to create or open a paste.
-- One-time access: opening the link consumes it.
-
-## Notes
-
-- Link preview crawlers are ignored so they do not consume your paste.
-- If someone opens an already-consumed or expired link, they will see that the paste is unavailable.
+- [Ente Paste introduction](/paste/)
+- [Send your first paste](/paste/getting-started)
+- [How encryption works](/paste/features/security)
+- [Ente Paste FAQ](/paste/faq)
diff --git a/docs/docs/locker/features/sharing/index.md b/docs/docs/locker/features/sharing/index.md
index 5abb23a3ad..f17f4fb29c 100644
--- a/docs/docs/locker/features/sharing/index.md
+++ b/docs/docs/locker/features/sharing/index.md
@@ -29,9 +29,7 @@ Learn more about [Public links](/locker/features/sharing/public-links).
### Share text via Ente Paste
-Use Ente Paste when you need to share sensitive text quickly with a one-time link. Pastes are end-to-end encrypted, deleted after first open, and expire after 24 hours.
-
-Learn more about [Ente Paste](/locker/features/sharing/ente-paste).
+Use [Ente Paste](/paste/) when you need to share sensitive text quickly with a one-time link. Pastes are end-to-end encrypted, deleted after first open, and expire after 24 hours.
## What you can share