Difference between revisions of "Gpg"

From DWIKI
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽
m
m
 
Line 50: Line 50:
 
  gpg --edit-key me@example.com
 
  gpg --edit-key me@example.com
 
  gpg> expire
 
  gpg> expire
 +
  
 
= FAQ =
 
= FAQ =
Line 56: Line 57:
  
 
Means you're using gpg2 --use-agent, which is broken
 
Means you're using gpg2 --use-agent, which is broken
     
+
 
 +
 
  
 
== gpg: keyserver receive failed: No name ==
 
== gpg: keyserver receive failed: No name ==
 +
 
probably means the key was nog found
 
probably means the key was nog found
 +
 +
== gpg: keyserver send failed: No name ==
 +
Try another keyserver

Latest revision as of 10:47, 7 October 2021

GNU Privacy Guard


Links

Cheatsheet

What is my key ID?

gpg --list-keys you@example.com

The bit after the / in the pub line!

 

Generate key

gpg --gen-key 
 

Export public key

gpg --export me@example.com > public.key

 

Export private key

gpg --export-secret-key me@example.com > private.key

 

Import private key

gpg --import private.key

Renewing subkey

https://sites.lafayette.edu/newquisk/archives/504

Changing expiration date

gpg --edit-key me@example.com
gpg> expire


FAQ

gpg: decryption failed: No secret key"

Means you're using gpg2 --use-agent, which is broken

 

gpg: keyserver receive failed: No name

probably means the key was nog found

gpg: keyserver send failed: No name

Try another keyserver