You Can Save Lives With End-to-end Encryption in Ruby
summary
Implements Messaging Layer Security (RFC 9420) in Ruby as the Melos gem, using the HPKE gem for hybrid public key encryption and an array‑backed secret tree to turn O(n^2) pairwise ratchets into O(n log n) operations. Serialization handles QUIC‑style variable‑length integers and optional fields with a struct DSL, and OpenSSL quirks (different EC APIs) require workarounds. It passes all test vectors today but lacks error‑case validation and production hardening, with a planned full release before the next IETF in July and experimental OpenSSL 3.5.0 post‑quantum support.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 2:22Why end-to-end encryption matters
- 4:26Messaging Layer Security overview
- 7:15Forward and post-compromise security
- 10:08TreeKEM and key exchange
- 14:05Group updates and proposals
- 17:35Implementing MLS in Ruby
- 21:53Future cryptography in Ruby
- 24:45Ruby’s role in modern crypto
- 25:50Why Ruby needs E2EE
- 26:52Closing and Q&A
related talks
36mModern Cryptography for the Absolute Beginner
34mKrypt the next level of Ruby Cryptogaphy
26mAdventures in Paranoia with Sinatra and Sequel
41mBetter Than ROT13
10mEncryption Pitfalls and Workarounds
30mRuby OpenSSL Present Future and Why It Matters
41mEnd to End Encryption with Elixir and Beam
32mPQC in OpenSSL Library
