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
seventrad

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
logicearth

Windows 10 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
seventrad

Windows 7 Ultimate x64 SP1
 
 

Ok! Now the things are more clear for me.

Thank you!
My System SpecsSystem Spec
.

28 Nov 2012   #4
Mark24

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
logicearth

Windows 10 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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Unidentified Networks - Set as Private or Public
How to Set Unidentified Networks to be a Private or Public Network Location Sometimes Windows 7 is unable to identify the network it is connected to due to a network issue or lack of identifiable characteristics. This type of network is called a unidentified network. A network location...
Tutorials
Document Library showing private/public
I just purchased a Lenovo laptop with Win 7 Pro installed. When I set up an ID for my wife I somehow managed to get her Documents Library to display both My Documents and Public Documents as separate lists, each showing their full paths (c:\users\name) and c:\users\public. Any idea how I...
General Discussion
Make a Public Network Private?
I need help doing this for windows 7 home ed. x32 I have my xbox 360 connected via cat 5. I cant access files unless the network is private
Network & Sharing
Public or private
Hi. I have a pc networked to a laptop, both running W7 ultimate. Pc is wired to the router and laptop is wireless. Everything was working OK until I installed samsung cell phone software and in trying to get it to work I followed some (bad) advice and deleted Teredo. I think this is something to...
Network & Sharing
Setting up sharing with private and public folders
Hi everyone. Been using Windows 7 for a while now. Trying to understand the advanced sharing a little more. Here is what I want to accomplish. I have 2 computers both with Win7 RTM. One laptop and one desktop. I want both of the computers to each have shared folders each with.... 1 Shared...
Network & Sharing
Check this out.. Private and public network?
So this is my home pc that I run a private network on with my brothers computer and mine.. No idea now after a ran a tweak program I have public and private setup. http://i28.tinypic.com/16k96yx.jpg How do I just keep the private setting on rather then the public trash to? Also My jump...
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 15:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App