Re: Basic Questions about PKI
From: Michael Sconzo (msconzo_at_tamu.edu)
Date: 10/08/03
- Previous message: omarg: "TCP reset DoS with multicast MAC."
- In reply to: Roger A. Grimes: "Basic Questions about PKI"
- Next in thread: Chee Young, Tan: "RE: Basic Questions about PKI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "Roger A. Grimes" <rogerg@cox.net>, <security-basics@securityfocus.com> Date: Wed, 8 Oct 2003 10:48:18 -0500
Sorry, if I seem a bit blunt, but I didn't think people wanted a
rant/dissertation/etc... on PKI :)
If I miss anything or made some errors (gross or otherwise) by all means let
me/the list know, thanks.
> Can someone that knows PKI cold confirm my knowledge of PKI?
>
> Here's what I think I know about PKI (accurate or not I'm not sure):
>
> a. People ENCRYPT messages to me with my PUBLIC key and send the
encrypted
> message to me, and only I can open the encrypted message...because ONLY my
> PRIVATE key can decrypt messages encrypted with my PUBLIC key.
Yup
>
> b. If I want to SIGN a message, I use my private key to sign the message
> digest (ENCRYPTING the hash result). The receiver who wants to rely on my
> signed message uses my PUBLIC key to DECRYPT my encrypted message digest.
Yup, however a very important thing do remember is to always sign before you
seal (encrypt).
>
> c. Both private and public keys can decrypt, and both private and public
> keys can encrypt. It just depends on the situation of what we use when.
Yup, they are both just numbers, 1s & 0s etc ... However, it is 'hard' to
get a private key from a public key, but the reverse is not true. This is
why not distributing your private key is important.
>
> Is that logic correct?
>
> Could we encrypt messages that we want to send to others with our private
> key (but don't because if we did anyone with our public key could read)
the
> seemingly private message?
This is the basis for signing, a digital signature is when you 'encrypt' the
message with your private key...since everybody has your public key it is
trivial for them to 'decrypt' (verify that is came from you). It would be
silly to waste the computing power to 'encrypt' something when everybody can
read it.
If you are looking for a good book about crypto, i would HIGHLY recommend
"Handbook of Applied Cryptography" byt Menezes, van Oorschot and Vanstone.
>
> Roger
>
-Mike
---------------------------------------------------------------------------
----------------------------------------------------------------------------
- Previous message: omarg: "TCP reset DoS with multicast MAC."
- In reply to: Roger A. Grimes: "Basic Questions about PKI"
- Next in thread: Chee Young, Tan: "RE: Basic Questions about PKI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|