Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How Public and Private Encryption Key Works???


20 Jun 2011   #1

Windows 7 Ultimate x64 SP1
 
 
[SOLVED] How Public and Private Encryption Key Works???

Hi guys,

I need to understand how PGP or GPG keys works!

1) I need to send a email encrypted for a person. I have to send to her my public key and my secret password?

2) I encrypts and signs my message with my private key and my password?

3) My password is needed only to encrypted and sign? Or her is needed to decrypt too?

I read many tutorials about GPG and PGP but I don't understand how works the private and public encryption key.



My System SpecsSystem Spec
.

20 Jun 2011   #2

Windows 8.1 Pro (x64)
 
 

This is what you do. You want to send an encrypted message to someone. They send you their PUBLIC key. You encrypt the message with their PUBLIC key. When the person gets the message they decrypt it with there PRIVATE key. Alright? It works like this if you encrypt with the PUBLIC key only the PRIVATE key can decrypt it. If you encrypt with a PRIVATE key only the PUBLIC key and decrypt it. The latter form is (PRIVATE -> PUBLIC) is used for digital signatures.

Never send your password to anything anywhere to anyone. The only thing you should ever send is your PUBLIC key.


Step one, encrypt your message with your PRIVATE key, you will send your PUBLIC key to the person.
Step two, encrypt the message again using the person's PUBLIC key.
Step three, send the message.

More or less I've not used GPG/PGP much.
My System SpecsSystem Spec
20 Jun 2011   #3

Windows 7 Ultimate x64 SP1
 
 

Ok! Now the things are more clear for me.

Thank you!
My System SpecsSystem Spec
.


28 Nov 2012   #4

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by logicearth View Post
Step one, encrypt your message with your PRIVATE key, you will send your PUBLIC key to the person.
Step two, encrypt the message again using the person's PUBLIC key.
Step three, send the message.

More or less I've not used GPG/PGP much.

Why Step one?
You only use your private key for decryption and signing.
So if you are sending an encrypted mail you encrypt the mail with the recipient's public key (and usual also with your own public key, so you can decrypt you own mail).

The process here sounds complicated, but normally this is done within you mail client automatically. Just google for Enigmail http://enigmail.mozdev.org (Thunderbird) or gpg4o http://www.gpg4o.de (Outlook).
These plugins do all the magic automatically.


Mark
My System SpecsSystem Spec
28 Nov 2012   #5

Windows 8.1 Pro (x64)
 
 

Quote   Quote: Originally Posted by Mark24 View Post
Why Step one?
For signing. You sign your message with your private key before encrypting with the recipient's public key. You also replied to a very old thread...
My System SpecsSystem Spec
Reply

 How Public and Private Encryption Key Works???




Thread Tools



Similar help and support threads for2: How Public and Private Encryption Key Works???
Thread Forum
Unidentified Networks - Set as Private or Public Tutorials
Make a Public Network Private? Network & Sharing
Public or private Network & Sharing
Wireless only works with encryption disabled Network & Sharing
Setting up sharing with private and public folders Network & Sharing
Check this out.. Private and public network? Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:22 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33