Sequoia: A New OpenPGP Implementation in Rust
summary
Sequoia is a new OpenPGP implementation written in Rust that actually shows what was built: a streaming, low-level API focused on usability and memory safety, with concrete solutions for infinite types via dynamic dispatch, boxed-reader recursion and the enormous linked-list cache bug that slowed parsing from 1.5M packets/s to a few thousand, and a custom packet-parser API that preserves streamable packet handles. The crate is already 98% feature complete, ports cut client code to 60% as much code compared to GnuPG.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 0:36What is Sequoia
- 2:09Who are we
- 3:04What is OpenPGP
- 4:15Packetbased format
- 5:36OpenPGP
- 6:28PK Esk
- 7:06Pipeline
- 8:06Parse
- 8:37Basic idea
- 9:07Recursion limit
- 9:20Generics
- 10:38Dynamic Dispatch
- 12:34Buffered Reader
- 13:41Buffered Reader Limiter
- 15:36Better Parser Interface
- 15:58Iterator Interface
- 17:48Iterator API
- 19:20Callback State
- 20:49Callback Helper
- 21:49Failure
- 22:32Recovery
- 23:19About Sequoia
- 25:02Sequoia Overview
related talks
40mRust’s approach of getting things right
28mRust and Scala, Sitting in a Tree….
34mWhoops! I Rewrote it in Rust
46mAdopting Rust by gracefully oxidising web applications
58mC# and Rust: combining managed and unmanaged code without sacrificing safety
39mGraviola: fast, high-assurance cryptography for Rust
11mA Decade of Rustls
41mCap'n Proto and Rust: Type Systems for Sharing
