gpg show default / effective options

Wiktor Kwapisiewicz wiktor at metacode.biz
Tue Jun 26 12:31:53 CEST 2018


Hello,

Is it possible to print default or effective options used by GnuPG?

I'm in the process of slimming down gpg.conf and see that many options 
are either redundant (because gpg uses them by default) or no-ops.

I would like to see which options are used to safely remove obsolete 
settings.

While it is kind-of possible to infer defaults from the source (e.g. 
[0]) I wondered if there is a command that would print all settings that 
are default or effective at the moment.

Thank you in advance!

Kind regards,
Wiktor

[0]: 
https://dev.gnupg.org/source/gnupg/browse/master/g10/gpg.c;592deeddb9bf4ae9b3e236b439e2f39644eb6d46$2403

-- 
*/metacode/*

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180626/c96fe4be/attachment.sig>


More information about the Gnupg-users mailing list