Private Keys: The Secret Half Has Different Jobs
A public key can be copied and distributed so other people can use it. Its private partner must remain controlled because it lets someone perform the matching secret operation—such as making a signature that others can check with the public key.
A private key is the secret half of an asymmetric key pair: two related pieces of data used for mathematical security operations. Asymmetric means the two related keys have different roles, unlike a symmetric system that uses the same secret key to protect and recover data.
The particular mathematical method, or algorithm, determines what those roles are. Some private keys make signatures. Others help recover encrypted information or establish a shared secret. One key isn't automatically suitable for all those jobs.
The National Institute of Standards and Technology's private-key definitions describe this range.
How Do You Send a Secret Without Sharing a Secret First?
Three jobs behind the same name
Recovering a message key. OpenPGP is a standard for encrypted and signed messages and files. When it uses public-key encryption, the message content is encrypted with a separate secret session key. The recipient's public key protects access to that session key. The matching private key lets the recipient recover it, then use it to decrypt the message.
That is hybrid encryption: a public/private-key operation works alongside symmetric encryption of the content. The private key doesn't have to perform the bulk decryption of the entire document itself. The OpenPGP standard specifies this process.
Making a signature. A private signing key creates a digital signature for data. Someone with the corresponding public key can check that signature against the data. The check shows whether the signature matches the data and that public key. It doesn't keep the signed data secret.
Signing is its own operation. Describing every digital signature as “encrypting with the private key” gives the wrong general explanation of how these systems work.
Proving control during a connection. A website server can use its certificate's private key during the setup of a protected connection. A certificate is a digital record that associates a public key with the server. In certificate-based Transport Layer Security 1.3, or TLS 1.3, it signs part of that setup exchange, called the handshake, to prove use of the key.
Separate symmetric traffic keys protect the web pages and other application data sent afterward. The TLS 1.3 specification separates the certificate-key proof from traffic protection. The long-term private key isn't simply decrypting every password or page sent over the connection.
Losing a key and losing control of it
Suppose an encrypted document can be recovered only through one private key, and that usable key is lost. Without another recovery path, the document can become inaccessible. Generating an unrelated new key pair doesn't give it the mathematical relationship needed to unlock the old material.
Now suppose someone else gains usable control of a signing key. They may be able to create signatures that pass checks with the existing public key. The key hasn't stopped working; the wrong person can use it.
These are different failures. One removes a needed capability from its intended user. The other gives that capability to an unauthorized user. Strong mathematical design doesn't prevent theft of the usable key itself.
- Keep your private keys offline, where online thieves can't reach them.
- Manage thousands of coins and tokens from one device.
- Rely on a USB-C cable alone: there is no Bluetooth to attack.
Recovery depends on the job
The National Institute of Standards and Technology's key-management guidance treats backup and recovery according to purpose. A long-lived private key needed to recover stored encrypted information may require a recovery arrangement. That doesn't make keeping copies of every private key a sound rule.
Ephemeral private keys are temporary keys used for a short-lived operation, such as establishing a session secret. Preserving them as routine backups can defeat the reason for making them temporary. The guidance also discourages routine backup of private signing keys.
What Is a Public Key, and Why Is It Safe to Share?

Digital Signatures: What a Verified File Actually Tells You

Perfect Forward Secrecy: Protecting Yesterday’s Traffic

QUOTE:
"Amateurs hack systems, professionals hack people."
