Digital signatures
RSA signatures · DSA, ECDSA and Ed25519
Loading slides…
Open the PDF file
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
- The problem: MAC gives no non-repudiation
- Signature scheme and security definition
- Textbook RSA signature and attacks on it
- Hash-then-sign and RSA-PSS
- Python: signing and verification practice
- DSA and the nonce (k) disaster: Sony PS3
- ECDSA and Ed25519 — the modern choice
- In practice: TLS, Git, JWT, packages, ERI
- Collision risk and best practices
- Map of primitives and conclusions