One pair, two jobs
In Lesson 1.2, you checked a note against a saved fingerprint. Here you use a signature and a public key to check the note. The note stays readable.
In Lesson 1.1, the sender and recipient used one shared key. A signing key pair has two related keys. The signer keeps the private signing key and uses it to make a digital signature for a particular message. The recipient uses the public verification key to check that signature against the message.
Anyone can make a new fingerprint for an edited note, so in Lesson 1.2 you needed a trusted reference. With a secure signature scheme, it should be infeasible to make a new signature that verifies with the trusted public key without access to the matching private key.
| Note | Public key | Result |
|---|---|---|
MEET AT NOON | Key A | Verifies |
MEET AT DAWN | Key A | Doesn’t verify |
MEET AT NOON | Key B | Doesn’t verify |
The browser uses ECDSA, a scheme specified in the NIST Digital Signature Standard.
Whose public key is it?
A successful check gives you evidence that this exact note was signed using the private key paired with the public key you checked. Suppose a note claims to come from Edith and verifies with Key B attached, but Edith actually uses Key A. The check confirms the connection to Key B. If you got Key A from Edith in person, you could use it as your trusted reference for this note and future notes from her.
Check your understanding
A note says it came from Edith. Its signature verifies with a public key attached to the note. You’ve never seen that key before. What did you check, and what would you still need to learn?
Show the answer
You have evidence that the private key paired with the attached public key signed this exact note. You still need a trusted way to check that the public key really belongs to Edith.