Difference between revisions of "Generating a new GPG key"

From wikieduonline
Jump to navigation Jump to search
(Created page with " * gpg --full-generate-key {{gpg}}")
 
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key?platform=linux
  
  
* [[gpg --full-generate-key]]
 
  
 +
* <code>[[gpg --full-generate-key]]</code>
 +
* <code>[[gpg --list-secret-keys --keyid-format=long]]</code>
 +
* <code>[[gpg --armor --export]]</code>
 +
** <code>gpg --export --armor [email protected] > public_key.asc</code>
  
{{gpg}}
+
 
 +
 
 +
* <code>[[gpg --encrypt]] --recipient [email protected] file.txt</code>
 +
 
 +
* <code>[[gpg --edit-key]] [email protected]</code>
 +
 
 +
 
 +
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."
 +
 
 +
 
 +
* [[Signing commits]]: <code>[[git config commit.gpgsign true]]</code>
 +
 
 +
== Related ==
 +
* <code>[[~/.gnupg/]]</code>
 +
* [[Signing commits]]
 +
* <code>[[brew install gpg]]</code>
 +
* <code>[[brew install --cask gpg-suite]]</code>
 +
 
 +
== See also ==
 +
* {{gpg}}
 +
* {{GPG}}
 +
 
 +
[[Category:GPG]]

Latest revision as of 11:31, 4 July 2024

Advertising: