On using --debug flags (was: gpg generate key is not finishing)

Werner Koch wk at gnupg.org
Tue Jun 9 18:26:12 CEST 2020


On Tue,  9 Jun 2020 09:47, Bernhard Reiter said:

> GNUPGHOME=~/dot-gnupg-test2/ gpg -vvv --debug-all --quick-generate-key 

Pretty please do not use --debug-all.  It is better to use dedicated
debug flags to get useful logs and avoid leaking secrets.  All GnuPG
components support symbolic debug constants; use for example

  gpg --debug help

to view them.  In many cases

  --debug ipc

is helpful and won't reveal any long term secrets.  The very first thing
after a problem is to use --verbose which often is enough to see what's
wrong.  Only then try the debug constants.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200609/7ed629ae/attachment-0001.sig>


More information about the Gnupg-users mailing list