Generating a new GPG key
Jump to navigation
Jump to search
gpg --full-generate-key
gpg --list-secret-keys --keyid-format=long
gpg --armor --export
gpg --export --armor [email protected] > public_key.asc
gpg --encrypt --recipient [email protected] file.txt
Note: When asked to enter your email address, ensure that you enter the verified email address for your GitHub account. To keep your email address private, use your GitHub-provided no-reply email address. For more information, see "Verifying your email address" and "Setting your commit email address."
Related[edit]
See also[edit]
gpg, --batch | --generate-key | --full-generate-key | --recv-keys | --export | --encrypt | --import | --list-keys | --list-secret-key | --gen-key | --armor | --dearmor | --send-keys | --search-keys | --quick-set-expire | --keyserver | --delete-keys | --full-generate-key | --armor --export | gpg --help
- GNU Privacy Guard (GPG),
gpg, gpg-agent, gpg-suite
, GPGAuth,gpg --help
,~/.gnupg/
Advertising: