显示HN:如果你失去记忆,如何重新访问你的电脑?
Show HN: If you lose your memory, how to regain access to your computer?

原始链接: https://eljojo.github.io/rememory/

## ReMemory:与朋友共同安全恢复文件 ReMemory 是一款开源工具,允许您加密文件,并使用 Shamir 密钥共享技术将解密密钥安全地分割给您信任的朋友。与基于云的解决方案不同,它完全在浏览器内离线运行——恢复无需帐户或互联网连接。 您可以定义一个阈值(例如,5 位朋友中的 3 位)来重建密钥并恢复您的文件。每位朋友都会收到一个自包含的软件包,其中包含一个简单的、基于浏览器的恢复工具。没有一位朋友可以单独访问数据,从而确保安全并防止单点故障。 ReMemory 优先考虑隐私;您的文件永远不会离开您的设备。代码公开可用以供审计,并利用强大的 'age' 加密方法。它专为需要多个信任的人员访问重要文件而不依赖于单个人或服务的情况而设计。

一位Hacker News用户,出于对自行车事故导致记忆丧失的担忧,开发了一种系统,以便在失忆的情况下重新获得计算机访问权限。他们结合了Shamir密钥共享和年龄加密,并将其打包成一个基于浏览器的应用程序,允许在七位指定的朋友/家人中获得五人同意后访问关键数据。 这篇帖子引发了讨论,另一位用户分享了在脑外伤后类似的经历——强调了安全存储的长密码和可靠的备份码的重要性(正如其他人通过谷歌账户证实的那样,这些备份码也可能失效)。 该解决方案解决了在不依赖需要持续重置的自动化发布系统的情况下,死后访问密码的难题,而是选择了一种协作解锁的方式。 演示可在浏览器中直接试用。
相关文章

原文
ReMemory - Split a recovery key among friends

This is a tool that encrypts files and splits the decryption key among trusted friends using Shamir's Secret Sharing. For example, you can give pieces to 5 friends and require any 3 of them to cooperate to recover the key. No single friend can access your data alone.

Each friend receives a self-contained bundle with recover.html—a browser-based tool that works offline, with no servers or internet required. If this website disappears, recovery still works.

How it works

Your file is encrypted, the key is split into shares, and friends combine shares to recover it.

Different friend combinations can recover the file (any 3 of 5)

Your FileEncryptSplit key into 5 sharesDistribute to friends

Any 3 friendsCombine sharesDecryptFile recovered

What this is and isn't

It is:

  • An offline tool that runs in your browser
  • A way to split a recovery key among friends
  • Open source (Apache-2.0)
  • Self-contained—recovery works without this site

It isn't:

  • A service or a company
  • An account system or cloud product
  • Something that stores your data anywhere
  • A backup solution by itself

Try it in 2 minutes

  1. Download the demo bundles (contains 3 sample bundles)
  2. Open bundle-alice/recover.html in your browser
  3. Add Bob's and Carol's shares (drag their README.txt files onto the page)
  4. Watch the automatic decryption when threshold is met

This is the best way to understand what your friends would experience during a real recovery.

On trust and verification

  • The code is open source—you can read it on GitHub
  • There's a self-audit document explaining the cryptographic choices
  • Everything runs locally in your browser; your files don't leave your device
  • Try the demo bundles first to see exactly how it works before using it with real secrets
  • Uses age for encryption—a well-regarded modern tool

Why I built this

I wanted a way to ensure trusted friends could access important files if something happened to me—without trusting any single person or service with everything. Shamir's Secret Sharing seemed like the right approach, but I couldn't find a tool that gave friends a simple, self-contained way to recover files together. So I built one. I'm sharing it in case it's useful to others.

联系我们 contact @ memedata.com