~/talk

WT* is JWT?

Talkat apidays New York 2020 · 2020-07-28..07-29· [security]
slides:none on file

JWT is an abstract token format implemented as JWS (signed) or JWE (encrypted); typical deployments use JWS so payloads are signed not encrypted. Example math uses toy RSA (p=11, q=3 → n=33, e=3, d=7) to show signing/verification. Practical points: microservices and OAuth can use JWT to avoid round trips and offload validation to gateways or CDNs (Akamai API Gateway), rotate keys with JWKS (jku + kid), never store sensitive data in a JWS, always verify signatures and validate jku to avoid none/alg and weak HS256 attacks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Meet the speaker
  3. 2:05School-time analogy
  4. 7:26Asymmetric cryptography
  5. 9:51JSON Web Signature
  6. 11:17What JWT is
  7. 13:04Microservices auth
  8. 17:48Third-party auth
  9. 19:13JWKS and key rotation
  10. 21:45Compromised keys
  11. 22:27JWT pitfalls
  12. 25:40JWT validation
  13. 26:44Summary
~/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.