~/talk

Note encryption: 10 lines for encryption, 1500 lines for key management

Talkat FrenchKit 2019 · 2019-10-07..10-08· [security]
slides:none on file

Claim: 10 lines for encryption, 1500 lines for key management. Implements per-note end-to-end encryption in Bear using AES-256-GCM with random IVs and per-note unique keys, derives an application key from a user passphrase plus salt, syncs encrypted passphrase via iCloud keychain, zeroes keys in memory, adds versioning, encrypted hints and monotonic timers. Result is fast cross-device sync on iOS and macOS; encryption itself is tiny, key-management and UX glue are the bulk and they work.

AI-written summary · about

  1. 0:00Start
  2. 8:12Lines of defense
  3. 10:37End-to-end encryption in Bear
  4. 15:29Trust model
  5. 20:44Notes encryption
  6. 21:38Overlapped security controls
  7. 23:28Hint encryption
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.