~/talk

High-Assurance Go Cryptography

Talkat GopherCon 2023 · 2023-09-26..09-29· [security]
slides:none on file

Go cryptography uses concrete artifacts: a Wycheproof JSON test corpus pulled via go mod, a test-only package that fetches and runs vectors in CI, and a recording framework that captures OpenSSL client/server TLS flows and regenerates them with a -update flag. ED25519 gets millions of generated vectors from a test generator (with tests for the generator) to preserve compatibility; weighted fuzzers reproduce a 1-in-2^154 corner case by searching ~2^18 inputs; the age testkit generates language‑agnostic vectors that find bugs in every alternate implementation. Continuous maintenance, fuzzing, and reduced scope drive the assurance.

AI-written summary · about

  1. 0:00High-assurance crypto in Go
  2. 1:10Crypto demands zero bugs
  3. 3:00Memory safety in Go
  4. 3:43Test vectors for correctness
  5. 6:18Generate test vectors
  6. 9:16Test generator reliability
  7. 11:49Test TLS with OpenSSL
  8. 13:37Record and replay network
  9. 16:55Frameworks for more testing
  10. 17:39Footest pattern for tests
  11. 20:51Test vectors for invalid inputs
  12. 25:30Embed test vectors
  13. 29:56Automate CLI tests
  14. 32:05Fuzzing crypto code
  15. 35:59Safe internal APIs
  16. 39:31Reduce crypto complexity
  17. 40:56Go Crypto Principles
  18. 42:43Deprecate features responsibly
  19. 43:25Readability in crypto
  20. 45:31Maintenance as assurance
  21. 46:36Independent maintainers role
~/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.