Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
gnupg [2022-04-20] dcaignupg [2022-04-20] (current) dcai
Line 21: Line 21:
  
 <code bash> <code bash>
 +
 +# export public key
 +gpg --armor --export {useremail@dcai.me}
 +
 +# export private key
 +gpg --armor --export-secret-key
  
 # Import other people's key # Import other people's key
Line 31: Line 37:
 gpg --keyid-format LONG -k 0xDEADBEEF {useremail@dongsheng.org} gpg --keyid-format LONG -k 0xDEADBEEF {useremail@dongsheng.org}
 # key id is after rsa4096/ # key id is after rsa4096/
- 
- 
-# export public key 
-gpg --armor --export {useremail@dcai.me} 
- 
-# export private key 
-gpg --armor --export-secret-key 
  
 # fingerprint # fingerprint
gnupg.1650436924.txt.gz · Last modified: by dcai