Enforcing Web security and privacy with zero-knowledge protocols
summary
Claims that zero-knowledge protocols stop leaking PII by proving equality without revealing values, demonstrates a socialist millionaires’ protocol implemented over Ed25519 (with timing-attack mitigations and a C library called tennis) and compares it to PAKE/SPAKE2. Socialist Millionaires needs three round trips and is about 30× slower in C but gives true zero-knowledge; SPAKE2 needs two round trips, is simpler and faster. Shows a credit-reference use case where hashes leak tracking but ZK proofs prevent that.
AI-written summary · about
chapters (16)
- 0:00Introduction to web security
- 1:29Problems with current authentication
- 3:37HTTP authentication flaws
- 7:12Why HTTPS isn't enough
- 9:21Zero-knowledge protocols explained
- 12:12Cave example of zero knowledge
- 14:44Socialist millionaire protocol
- 17:37Signal's protocol implementation
- 19:26Protecting PII with zero knowledge
- 23:00SPAKE2 vs socialist millionaire
- 26:12Performance comparison
- 28:42Implementation security risks
- 30:50Use cases for zero knowledge
- 31:52Choosing the right protocol
- 32:13Resources and references
- 33:28Q&A on protocol trade-offs
