Full Disclosure mailing list archives
Re: stealing ssh keys
From: Ivaylo Hubanov <sniffski () gmail com>
Date: Thu, 25 Oct 2012 09:51:56 +0300
Yes Raj, You almost got the RSA encryption/decryption flow. :) Just the private key is used to sign the data and not to encrypt it. Check this "http://en.wikipedia.org/wiki/Public-key_cryptography" Each user has a pair of cryptographic keys<http://en.wikipedia.org/wiki/Cryptographic_key> - a *public encryption key* and a *private decryption key*. ... The two main uses for public-key cryptography are: - Public-key encryption: a message encrypted with a recipient's public key cannot be decrypted by anyone except a possessor of the matching private key - it is presumed that this will be the owner of that key and the person associated with the public key used. This is used to attempt to ensure confidentiality <http://en.wikipedia.org/wiki/Confidentiality>. - Digital signatures <http://en.wikipedia.org/wiki/Digital_signature>: a message signed with a sender's private key can be verified by anyone who has access to the sender's public key, thereby proving that the sender had access to the private key and, therefore, is likely to be the person associated with the public key used. This also ensures that the message has not been tampered with (on the question of authenticity<http://en.wikipedia.org/wiki/Authentication>, see also message digest <http://en.wikipedia.org/wiki/Message_digest>). regards, sniffski
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
Current thread:
- stealing ssh keys Daniel Sichel (Oct 23)
- Re: stealing ssh keys Jacqui Caren (Oct 24)
- Re: stealing ssh keys Thor (Hammer of God) (Oct 24)
- Re: stealing ssh keys Raj Mathur (राज माथुर) (Oct 24)
- Re: stealing ssh keys Thor (Hammer of God) (Oct 24)
- <Possible follow-ups>
- Re: stealing ssh keys Ivaylo Hubanov (Oct 26)
- Re: stealing ssh keys Thor (Hammer of God) (Oct 26)
- Re: stealing ssh keys Jeffrey Walton (Oct 26)
- Re: stealing ssh keys Raj Mathur (राज माथुर) (Oct 26)
- Re: stealing ssh keys gold flake (Oct 29)
- Re: stealing ssh keys Jeffrey Walton (Oct 29)
- Re: stealing ssh keys Thor (Hammer of God) (Oct 26)
- Re: stealing ssh keys Jacqui Caren (Oct 24)