Here's a good place to start:
gpg --gen-key
Then follow the prompts.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Here's a good place to start:
gpg --gen-key
Then follow the prompts.
It's been a hot minute since I've done anything with GnuPG, but I still have the presentation I did some years back on my website. It might help.
possibly one of the most insufferable tasks on Linux, I've never had luck with it
If you use emacs, you can set up gnupg integration for easy encryption and decryption of files.
I would also read up on expiration of keys, and how you can export (backup) and import a key. The latter can also be useful if you want to use the same key on multiple devices.
For what it's worth, some say that PGP is bad and needs to go away. I found that article pretty interesting when learning sops
.
TL;DR here.
GnuPGP is bad. It's so bad, it's terrible. Don't use it, it's the worst. You know this GNU? It's bad, terrible.
Use this one instead, it's coded in Rust...
Lol OK.. Thanks I guess...
You do you man. I'm just trying to share some information that helped me.
Don't take it personally.
It's how the guy who wrote the blog sounds like, it's not toward you.
I tend to have a grain of scepticism when someone is declaring high and loud that something widely used us /just the worst/.
Also, it just happens his alternative is just: "use this instead, its made in Rust"
...
These remarks could discourage others from reading a useful and well-written article.
I still use GnuPG on occasion, but I've benefited from incorporatingsops
and age
into repositories. They're pretty slick.
If you think it's hard to figure out GPG for yourself, well good luck finding and communicating with someone else who has also figured it out.