/ THE IDEA
The secret signing information is the private key, a number or collection of numbers controlled by the signer. Its mathematically related public key is intentionally shareable so other people can verify. Verification tests the message, signature and public key together. Changing the message should make verification fail for the old signature. This differs from encryption, which hides a message’s contents: a signed update can remain publicly readable. Keeping content secret and checking who approved it are separate requirements and can be combined when needed.
THE FORMAL IDEA
Verify(public key, message, signature) → accept or reject
| The public key identifies the verification relationship; it is not a secret password. | | Accept means the algorithm verifies this message under this key. Establishing whose key it is requires a trustworthy distribution or certification process. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Publisher signs file A using private key K. Computer checks A, the signature and K’s public counterpart → accept. Change one byte to create file B but reuse the signature → reject. Change the trusted public key to an attacker’s key → a different signature may verify, but publisher identity has been lost.
|
The last change demonstrates why key trust is part of the system. A correct cryptographic calculation cannot repair a decision to trust the wrong verification key.
/ SO WHAT?
This helps explain signed software, package releases and document approval systems. A valid signature can bind a particular file to a key at a particular signing event. It does not establish that the software is bug-free or that the signer’s intentions were good. Revocation and key protection remain necessary.
ONE CAVEAT |
| This omits algorithm internals and certificate policy. Compromised signing keys or trusted build systems can produce validly signed malicious files. Signature verification is one control, not a complete software-safety judgement. |
KEEP THIS
A signature ties exact content to a key; trusting the publisher still requires trusting that key’s identity and custody.
|
NEXT: Why a short recording struggles to distinguish close notes
|