public_key » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2015-11-24 | 2015-11-24 | ||
no summary (182.75.88.36) (hidden) | Restored revision 1448357679. Undoing revision 1448357700. (martin) (hidden) | ||
Line 6: | Line 6: | ||
===== Introduction ===== | ===== Introduction ===== | ||
+ | Public key authentication is an alternative means of identifying yourself to a login server, instead of typing a password. It is more secure and more flexible, but more difficult to set up. | ||
+ | In conventional password authentication, you prove you are who you claim to be by proving that you know the correct password. The only way to prove you know the password is to tell the server what you think the password is. This means that if the server has been hacked, or spoofed, an attacker can learn your password. | ||
Public key authentication solves this problem. You [[#generate|generate a key pair]], consisting of a public key (which everybody is allowed to know) and a private key (which you keep secret and do not give to anybody). The private key is able to generate signatures. A signature created using your private key cannot be forged by anybody who does not have that key; but anybody who has your public key can verify that a particular signature is genuine. | Public key authentication solves this problem. You [[#generate|generate a key pair]], consisting of a public key (which everybody is allowed to know) and a private key (which you keep secret and do not give to anybody). The private key is able to generate signatures. A signature created using your private key cannot be forged by anybody who does not have that key; but anybody who has your public key can verify that a particular signature is genuine. |