Skip to main content
Presentation 14 of 16

Digital signatures

RSA signatures · DSA, ECDSA and Ed25519

Slides: 24 PDF · 798 KB
Loading slides…

Keyboard: Left arrow Right arrow Slides; F — fullscreen

Summary

A MAC tag can be produced by both parties, so it proves nothing to a third party (a judge); a digital signature solves this with a key pair: sk signs and anyone can verify with pk. The lecture covers the EUF-CMA security game, attacks on textbook RSA signatures, hash-then-sign and RSA-PSS, DSA/ECDSA and the nonce (k) reuse disaster (Sony PS3), and the modern choice Ed25519. In practice it shows signatures in TLS, Git, JWT, cryptocurrencies and Uzbekistan's ERI e-signature, and how MD5/SHA-1 collisions break signatures.

Key terms

EUF-CMA textbook RSA hash-then-sign PKCS#1 v1.5 RSA-PSS DSA ECDSA Ed25519 RFC 8032 nonce k Sony PS3 rad etmaslik

Lecture outline

  1. The problem: MAC gives no non-repudiation
  2. Signature scheme and security definition
  3. Textbook RSA signature and attacks on it
  4. Hash-then-sign and RSA-PSS
  5. Python: signing and verification practice
  6. DSA and the nonce (k) disaster: Sony PS3
  7. ECDSA and Ed25519 — the modern choice
  8. In practice: TLS, Git, JWT, packages, ERI
  9. Collision risk and best practices
  10. Map of primitives and conclusions
Related lesson Digital Signatures: RSA-PSS, ECDSA & Ed25519