Apr 04, 2017 Import a public key. As others persons can use your public key to send you a message, you can import public from people you trust in to communicate with them. Gpg -import bobpublickey.gpg Conclusion. Now we have notions on the principles to use and generate a public key. You know how GnuPG is functioning and you can use it for secure. May 28, 2015 This blog describes how to generate a private/public key pair using GPG version 1.4.5. The resulting public key will contain two keys, one key for signing and a subkey for encryption. This key can be used with HCM Fusion SaaS to encrypt/decrypt files as they are transferred to.
The National Security Agency has been known to intercept and collect emails, and with Donald Trump as president, privacy likely isn’t going to get better. For example, he said that Apple should help the FBI hack into the phone of one of the San Bernardino shooters, and since he became president, the demand for secret messaging apps has risen.
Let’s think about email for a moment. It can be used to spy on the most private details of anyone’s life. But if you have something secret to send, fortunately, there’s a way to protect your message: PGP.
What is PGP?
Created by Phil Zimmerman way back in 1991, PGP — short for “Pretty Good Privacy” — is an encryption program for email that lets you communicate with others with more privacy. With PGP, you can send encoded emails, files and more to other people, and they’re nearly impossible to crack. In fact, PGP encryption tools present major problems for intelligence agencies and cause entire messages to disappear from the system.
In other words, with PGP, you can message people without fear of snoops. If you’re a source sending confidential information to a journalist, you might want to use PGP. Or if you have a secret message you don’t want the government to read, you might want to use PGP.
“PGP empowers people to take their privacy into their own hands,” Zimmerman wrote in 1999. “There has been a growing social need for it. That’s why I wrote it.”
It’s safe to say that since then, the need has only increased.
Here’s how PGP works: The “key” is a string of letters and numbers. It’s split into two parts: a public and a private key.
- A public key can be available to everyone and allows you to encrypt a message. It also allows people to send encrypted messages to you.
- A private key is used to decrypt a message. You must store this key securely.
Step 1: Download a key generator.
There are many ways to generate keys and send encrypted messages, but a Chrome extension called Mailvelope allows you to easily do so right from your email account. It’s also on Firefox as a plug-in.
Step 2: Generate your key.
Now that you’ve downloaded Mailvelope, there should be a lock icon on your toolbar. Click on the lock, and then click on options.
The Setup screen will appear. If you already have a key, click “Import Key.” Otherwise, click “Generate Key.”
Now, type in your email and password.
There are also other ways to generate keys. For example, you can generate public and private keys from Keybase, a PGP key database. On Keybase, you can also encrypt and decrypt messages and view the public keys of other PGP users.
Step 3: Verify your key.
Log into your email account, and you should’ve gotten an email from Mailvelope Key Server. When you open it, it’s going to appear as a block of nonsense letters and symbols. But fear not, you can decode it.
Click on the envelope to unlock the email. This should lead you to a link to verify your key.
Step 4: Send an encrypted email.
Congrats! You officially have a PGP key. Now it’s time to send an encrypted message.
Keep in mind though, that you can only send encrypted emails to users who have a PGP key. Otherwise, they’re just going to get an email filled with nonsense letters and symbols and be very, very confused.
When you compose an email, notice that there’s a new logo in the corner.
If you want your message to be encrypted, click on it, and a new window will pop up. Add a recipient who has a PGP key, and then write your top secret message.
To anyone else, the email will make no sense whatsoever. But if your recipients have a PGP key, they can unlock and read your message.
How To Create A Pgp Key
And that’s it! Now you can send and receive emails with a lot more privacy.