Re: gpg show default / effective options

2018-06-26 Thread Wiktor Kwapisiewicz via Gnupg-users

Wow, that is exactly what I needed.

I will walk through them soon and report any problems directly to you.

Thanks Werner!

Kind regards,
Wiktor

W dniu 26.06.2018 o 21:04, Werner Koch pisze:

On Tue, 26 Jun 2018 12:31, gnupg-users@gnupg.org said:


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


You can run

   gpgconf --list-options gpg

which prints the options and their current values in a format described
in the gpgconf man page.  Frontends like Kleopatra and GPA use this to
provide a GUI page with options.

However, this does only include a subset of all options.  In theory the
man page should list the actual defaults but I am pretty sure that
some(tm) are missing.  If you find such flaws, please let me know and
I'll add them to the docs.


Salam-Shalom,

Werner



--
*/metacode/*



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg show default / effective options

2018-06-26 Thread Werner Koch
On Tue, 26 Jun 2018 12:31, gnupg-users@gnupg.org said:

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

You can run

  gpgconf --list-options gpg

which prints the options and their current values in a format described
in the gpgconf man page.  Frontends like Kleopatra and GPA use this to
provide a GUI page with options.

However, this does only include a subset of all options.  In theory the
man page should list the actual defaults but I am pretty sure that
some(tm) are missing.  If you find such flaws, please let me know and
I'll add them to the docs.


Salam-Shalom,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgp1zhICTHysL.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


gpg show default / effective options

2018-06-26 Thread Wiktor Kwapisiewicz via Gnupg-users

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/*



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users