Difference between revisions of "Generating a new GPG key"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
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." | 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." | ||
+ | |||
+ | [[git config commit.gpgsign true]] | ||
== Related == | == Related == |
Revision as of 11:23, 4 July 2024
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."
git config commit.gpgsign true
Related
See also
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: