LifetimeLabsHQ/PrivacyNotes.app
概要
メモ、タスク、ファイル、パスワード、日記、ブックマークをエンドツーエンドで暗号化します。12語のBIP-39フレーズを鍵として使うため、メールアドレスもパスワードもアカウントも不要で、漏えいするアカウント情報がありません。Web、デスクトップ、モバイルのクライアント全体のソースコードに加え、暗号化方式(XChaCha20-Poly1305、HKDF-SHA256、Ed25519)と脅威モデルも公開しており、プライバシーに関する主張を検証できます。
セキュリティ・プライバシー計測したスター増加
- 24時間
- +3
- 7日間
- +33
- 15日間
- +63
- 1か月
- +111
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルNotes, tasks, and journal, encrypted on your device.
Your 12- or 24-word recovery phrase is your identity and your key. With a phrase sign-up there is no email to give and no password to choose.
Website · Try it, no account · Verify it yourself · Security · Threat model
Signed apps for macOS, Windows, Linux, Android and iOS, or run it in the browser.
This screenshot is a link. It opens the live demo in your browser:
no account and nothing synced: the real app, whose notes stay in this browser,
unencrypted, until the demo opens here again.
What your data looks like on our server

Real rows from the notes table in production. A public key, a ciphertext, a nonce.
No title, no body, no tags. Just bytes that your phrase opens.
Do not take our word for it. Check it yourself in about a minute, with nothing but your browser's network tab.
What PrivacyNotes is
A notes, tasks and journal app for macOS, Windows, Linux, Android, iOS and the browser, encrypted on your device. You get a 12- or 24-word recovery phrase instead of an email and a password, and everything you write is encrypted on your device under keys derived from it, on disk and on the way to us. The few exceptions, such as the domain of a link the app fetches an icon for, or a Markdown folder you choose to keep as plain files, are listed in VERIFY.md and THREAT_MODEL.md. Under self-custody, those keys are yours alone. Notes, journal entries, tasks, a password vault, and file attachments all live under that one phrase.
Why this repo exists
Privacy claims need proof. The parts you actually have to trust are here: the client applications, the cryptographic core, and the threat model - the real files that ship, not summaries. Reading crypto.ts lets you check the encryption; the client around it lets you check that every path uses it.
Three claims we make, and where to check each one without taking our word for it:
| The claim | Check it here |
|---|---|
| Under self-custody, your phrase reaches our server only encrypted under keys it never holds: inside your encrypted settings once you turn on the app lock (until you remove the PIN or passcode), and under a sign-in passkey if you add one | VERIFY.md tiers 1 and 2, and crypto/crypto.ts |
| Your notes are encrypted on your device, at rest and on the way to us | crypto/crypto.ts, the XChaCha20-Poly1305 path |
| The server stores your notes only as ciphertext | VERIFY.md tier 1: watch your own notes leave in your browser's network tab |
If any of those stops holding, the claim is broken and you can prove it. That is the entire point of this repo.
The first claim holds under self-custody, which every phrase sign-up uses. Its exception is custodial mode, which a sign-up with Google, Apple or GitHub preselects.
What is in here
| Path | What it is |
|---|---|
application/ |
The client applications, as we build them: the web app, the desktop and mobile shells, and the shared crypto package. cd application && pnpm install && pnpm build, with the two public build values from VERIFY.md. |
crypto/crypto.ts |
Key derivation and note encryption, about 900 lines, commented step by step. Not a reference implementation. The production code, copied here so the link is short; the canonical file is application/packages/shared/src/crypto.ts. Attachments and images use the same cipher through crypto/blob.ts, which is another 50 lines. |
SECURITY.md |
What we protect against, what we do not, and what the server can see. Written for users. |
THREAT_MODEL.md |
Trust boundaries, cryptographic detail, and known limitations, including the unflattering ones. Written for auditors. Start here if you are reviewing the project. |
The design in brief
Identity and key derivation. A 12- or 24-word BIP-39 mnemonic (128 or 256 bits of entropy) is generated on your device and turned into a 64-byte seed via the standard BIP-39 PBKDF2 path. The keys below come out of that seed via HKDF-SHA256, each under its own domain-separated info string so that no two uses share key material:
| Info string | Produces | Used for |
|---|---|---|
privacynotes-signing-v1 |
Ed25519 private key | Signs sensitive requests (devices, custody, account changes); its public key is your account ID (your first phrase's, if you change it) |
privacynotes-encryption-v1 |
32-byte symmetric key | Note, attachment and image encryption |
privacynotes-local-at-rest-v1 |
32-byte symmetric key | Seals note content at rest in the device's own storage; derived at each unlock, never stored or sent except, after a phrase change, inside the key ring encrypted under the new phrase |
privacynotes-auth-password-v1 |
32-byte secret | The password for the anonymous account that carries your session |
privacynotes-fp-pepper-v1 |
32-byte pepper | Hashes the device-grouping signals described in SECURITY.md, so the server never sees the raw GPU, core count or language values |
privacynotes-clip-inbox-v1 |
X25519 key pair | Opens what the browser extension, the command line, phone autofill and a locked desktop app seal for your apps |
Note encryption. XChaCha20-Poly1305 with a random 24-byte nonce per write. Title, body, tags and flags travel inside one ciphertext. The rest of the key tree, and how requests are signed, is in THREAT_MODEL.md.
Dependencies, all from the @noble and @scure families: @scure/bip39, @noble/hashes, @noble/ed25519, @noble/curves, @noble/ciphers, @noble/post-quantum. No dependencies beyond each other, and written to be audited.
Verify it yourself
Read it. crypto/crypto.ts is one file and you can finish it in a sitting.
Run the derivation. The same path the app uses, from the same audited packages, in a scratch directory you can delete afterwards. Copy the whole block:
mkdir -p /tmp/pn-verify && cd /tmp/pn-verify
npm install --silent @scure/bip39@^2 @noble/hashes@^2
node --input-type=module -e "
import { generateMnemonic, mnemonicToSeedSync } from '@scure/bip39';
import { wordlist } from '@scure/bip39/wordlists/english.js';
import { hkdf } from '@noble/hashes/hkdf.js';
import { sha256 } from '@noble/hashes/sha2.js';
const utf8 = new TextEncoder();
const hex = b => Buffer.from(b).toString('hex');
const phrase = generateMnemonic(wordlist, 128);
const seed = mnemonicToSeedSync(phrase);
const encKey = hkdf(sha256, seed, undefined, utf8.encode('privacynotes-encryption-v1'), 32);
const sigKey = hkdf(sha256, seed, undefined, utf8.encode('privacynotes-signing-v1'), 32);
console.log('Phrase :', phrase);
console.log('Encryption key :', hex(encKey));
console.log('Signing key :', hex(sigKey));
console.log('Deterministic :', hex(hkdf(sha256, mnemonicToSeedSync(phrase), undefined, utf8.encode('privacynotes-encryption-v1'), 32)) === hex(encKey));
console.log('Domain-separated :', hex(encKey) !== hex(sigKey));
"
Two lines of that output are the ones that matter. Deterministic: true says the phrase alone reproduces the key, on any machine, forever, with nothing fetched from us. Domain-separated: true shows the two keys differ: HKDF gives each info string its own key, and one does not reveal the other, so publishing your account ID does not leak the key your notes are under.
Diff it against production. The bundle is minified, so a textual diff is not practical, but the derivation is falsifiable anyway. Open the JavaScript that https://use.privacynotes.app loads and search it for privacynotes-signing-v1 and privacynotes-encryption-v1. They are in there right now. If they ever are not, we are lying and you can show it.
Watch the wire. The strongest check needs no source at all. Open your browser's network tab, type a word into a note, and read what the app sends: a ciphertext, a nonce, the note's id, a public key and timestamps. No title, no body, nothing you typed. VERIFY.md walks it in about a minute.
The parts that are not absolute
SECURITY.md states each one in full, and THREAT_MODEL.md says how it works.
Custodial mode, the exception to the first claim
A sign-up with Google, Apple or GitHub preselects custodial mode: your phrase is kept on our server under a key we hold, so we could decrypt your notes. A phrase sign-up never uses it, and Settings > Account > Key custody switches either way. SECURITY.md has the full trade.
The rest, one line each
- Metadata. The server sees your public key, ciphertext sizes, timestamps, note counts, request IPs and sync patterns.
- OAuth. A Google, Apple or GitHub sign-in links that provider's email to your key, custodial or not.
- Web code. A browser fetches the app's code again on every visit, so if your threat model includes us being coerced, prefer the signed native apps.
- Your device. Malware on your device reads what you read, and a lost phrase under self-custody means lost notes.
Security contact
Found a flaw in the crypto, the derivation, or the client? Report it privately on GitHub rather than opening a public issue, or email [email protected] if you cannot use GitHub. SECURITY.md has the details.
No third-party audit has been performed yet. One is planned, with Cure53 as the target firm, and SECURITY.md will link the report.
Credits
PrivacyNotes is shaped by the people who report bugs and ask for features in our issues. 132 people have opened an issue, and 646 reports are now fixed or built.
Everyone, with their counts, is in CREDITS.md.
License
This repository is AGPL-3.0. Read it, audit it, build it, fork it. If you run a modified version as a network service, publish your changes.
The name PrivacyNotes, the wordmark and the icon are not part of that grant. A fork needs its own name.
Writing about PrivacyNotes? The square app icon is assets/icon.svg, and the full brand kit, with lockups and usage rules, is at privacynotes.app/brand. NOTICE.md says what the license grant does not cover.
A note on the earlier MIT releases of the encryption files is in crypto/README.md.
The app is built on other open source software. Every package, font and crate it includes, each with its license, is listed at privacynotes.app/licenses.
関連プロジェクトを探す
読み込み中…














































