Skip to Content
Mastering Linux Security and Hardening
book

Mastering Linux Security and Hardening

by Donald A. Tevault
January 2018
Intermediate to advanced
376 pages
8h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening

Creating your GPG keys

Getting started with GPG requires you to first generate your GPG keys. You'll do that with:

gpg --gen-key
Note that, since you're setting this up for yourself, you don't need sudo privileges.

The output of this command is too long to show all at once, so I'll show relevant sections of it, and break down what it means.

The first thing that this command does is to create a populated .gnupg directory in your home directory:

gpg: directory `/home/donnie/.gnupg' createdgpg: new configuration file `/home/donnie/.gnupg/gpg.conf' createdgpg: WARNING: options in `/home/donnie/.gnupg/gpg.conf' are not yet active during this rungpg: keyring `/home/donnie/.gnupg/secring.gpg' createdgpg: keyring `/home/donnie/.gnupg/pubring.gpg' ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Security and Hardening, The Practical Security Guide

Linux Security and Hardening, The Practical Security Guide

Jason Cannon
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781788620307Other