~/talk

Building a Rusty path validation library for PyCA Cryptography

Talkat PyCon US 2024 · 2024-05-15..05-23· [python, security]
slides:none on file

A new X.509 path validator is integrated into PyCA Cryptography as a pure Rust implementation claiming to replace OpenSSL path validation with a memory‑safe, standards‑focused alternative; it ships as about 25 200 lines of code new Total, reaches 100% test coverage via x509 limbo, finds bugs in other validators (including one CVE), and shows concrete speed gains (replacing a small SPKI parser yields ~60% faster path building).

AI-written summary · about

  1. 0:00Introduction
  2. 1:08About Trail of Bits
  3. 2:56Rust-based X.509 path validation
  4. 3:58X.509 security beyond HTTPS
  5. 4:41X.509 identity binding
  6. 6:27X.509 chaining primitive
  7. 7:51X.509 principal introduction
  8. 8:53X.509 security challenges
  9. 11:02Better X.509 for Python
  10. 13:09Design principles
  11. 16:40Design constraints
  12. 19:05Minimality in modern profiles
  13. 21:15Chain building correctness
  14. 24:44Optimizing path validation
  15. 27:11Testing and validation
  16. 28:58X.509 Limbo test suite
  17. 31:04API design risks
  18. 35:14Lessons from standards
  19. 41:34X.509 state and future
~/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.