Difference between revisions of "Generating a new GPG key"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* <code>[[gpg --armor --export]]</code>
 
* <code>[[gpg --armor --export]]</code>
 
** <code>gpg --export --armor [email protected] > public_key.asc</code>
 
** <code>gpg --export --armor [email protected] > public_key.asc</code>
 +
 +
 +
 
* <code>[[gpg --encrypt]] --recipient [email protected] file.txt</code>
 
* <code>[[gpg --encrypt]] --recipient [email protected] file.txt</code>
  
Line 15: Line 18:
  
  
[[git config commit.gpgsign true]]
+
* [[Signing commits]]: <code>[[git config commit.gpgsign true]]</code>
  
 
== Related ==
 
== Related ==
 
* <code>[[~/.gnupg/]]</code>
 
* <code>[[~/.gnupg/]]</code>
 +
* [[Signing commits]]
 +
* <code>[[brew install gpg]]</code>
 +
* <code>[[brew install --cask gpg-suite]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:31, 4 July 2024

Advertising: