Encryption

How do I create my own PGP FOR ENCRYPTION PURPOSE use, especially while communicating with parties that have PGP  Created for the public.
Bolton JamesAsked:
Who is Participating?
 
btanExec ConsultantCommented:
May be a rather old article on PGP but the use of OpenPGP is good for beginner and the step through example further shorten the learning curve.
1. Install PGP - sudo port install gnupg2 (where there may be newer package, here is just for illustration)
2. Generate (your) key pair - gpg2 --gen-key (where you should indicate longer key length such as 4096)
3. Publish (your) key to key server - gpg2 --send-keys PUB_KEY_ID (Where PUB_KEY_ID is the public master key ID)
4. Create Revocation list - gpg2 --gen-revoke PUB_KEY_ID > revocert.asc (where you run this if your key is compromised or untrusted anymore)

Assume you want to start communication with encrypting of your document
5. Encrypt (your) document - gpg2 --encrypt document.txt -r "Recipient 1" -r "Recipient 2" (where you stated two recipient in this case, their user ID are "Recipient 1" and "Recipient 2")
6. After running, you get the encrypted document and can save as "document.txt.gpg". (a file encryption key is created to encrypt document and the KEK is in turn encrypted using R1 and also KEK is again encrypted with R2 public key)

Assume you want to start communication with decrypting of your document
7.  Decrypt (other) document - gpg2 --decrypt document.txt.gpg
8. After running, you be prompted to key in a passphrase for private key to decrypt the keys to get the document back in plain text, i.e. document.txt

You can do that in email too and just needed a plugin in... Hope this helps.. pardon for any short syntax
http://zacharyvoase.com/2009/08/20/openpgp/
0
 
Hemil AquinoNetwork EngineerCommented:
What do you want to encrypt?
0
 
serialbandCommented:
Instructions are here: https://support.symantec.com/en_US/article.howto41935.html

You don't have to create a key pair to send them a message.  You only need to create a key pair to receive encrypted messages.

To send someone a pgp encrypted message, you need to get their public key and use it to encrypt your message to them.  They will then use their private key to decrypt the message.
1
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
arnoldCommented:
First thing, you install pgp on your system. You then generate the private/public key
You can register your public key/associated with your email address, public key exchanges.
Or simply exchange public keys with those with whom you wish to communicate.

......
Gnu pg
1
 
Bolton JamesAuthor Commented:
Thanks a lot, am going thru this now in order to apply it for use during communication  with mates.

Cheers !
0
 
btanExec ConsultantCommented:
For author advice.
0
 
btanExec ConsultantCommented:
For consideration
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.