Gpg: Difference between revisions

From DWIKI
Line 30: Line 30:


==Renewing subkey==
==Renewing subkey==
https://sites.lafayette.edu/newquisk/archives/504


=FAQ=
=FAQ=
==gpg: decryption failed: No secret key"==
==gpg: decryption failed: No secret key"==
Means you're using gpg2 --use-agent, which is broken
Means you're using gpg2 --use-agent, which is broken

Revision as of 17:24, 3 May 2020

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

FAQ

gpg: decryption failed: No secret key"

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