~/talk

Handling JWTs: Understanding Common Pitfalls

Talkat CloudNativeSecurityCon North America 2023 · 2023-02-01..02-02· [security]
links:none on file
slides:none on file

Explains the exact failure modes: the RFC-allowed none algorithm can make receivers accept unsigned tokens, symmetric secrets can be brute-forced (demoed with shotcrack and a MacBook cracking a short key in ~10 seconds), and attackers target stored tokens. Recommends forbidding algorithms except RS256, using long secrets and hardware-backed key stores like AWS KMS or Vault, setting Secure, HTTPOnly cookie and SameSite flags or keeping tokens in memory, and keeping expirations short because revocation for stateless JWTs is hard.

AI-written summary · about

  1. 0:00JWTs and their purpose
  2. 2:30JWT validation analogy
  3. 4:37JWT structure breakdown
  4. 7:03JWT signing methods
  5. 9:31Symmetric vs asymmetric signing
  6. 13:23Microservice JWT workflow
  7. 15:12Danger of none algorithm
  8. 17:40Brute-forcing symmetric keys
  9. 19:27Why attackers target JWTs
  10. 20:09JWT storage in cookies
  11. 21:34Securing signing keys with HSMs
  12. 22:36JWTs vs session tokens
  13. 24:02JWT revocation challenges
~/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.