Suggestion - listing options

David Shaw dshaw at jabberwocky.com
Fri Feb 6 08:05:42 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Feb 06, 2004 at 09:22:14AM +0100, Stephane Corthesy wrote:
> Hi,
> 
> Here's a suggestion for a new command in gpg. Something 
> like "--list-options" which would display all options used 
> by gpg, parsed from gpg.conf file, in the same format as 
> the gpg.conf file.
> 
> That would allow front-ends to easily retrieve options 
> used by gpg at launch. Currently, if we want to provide a 
> GUI other than a text editor to edit gpg.conf, we need to 
> parse gpg.conf the same way gpg does it (order priority, 
> dependencies between options, etc.).

As it happens, GnuPG 1.2.5 has a --list-config command.  Note that not
all possible config items are supported yet, but if any are
particularly important to you, I can add them.

Currently there is "groups", and a few pseudo-config items to give the
list of algorithms that are available (needed for 1.4 where the user
can leave out particular algorithms, so there is no guarantee that
(for example) Twofish or RSA is usable).

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iHEEARECADEFAkAjkSYqGGh0dHA6Ly93d3cuamFiYmVyd29ja3kuY29tL2Rhdmlk
L2tleXMuYXNjAAoJEOJmXIdJ4cvJwCcAniDM5eqqPkMxvlC7GrGcta2We6mmAJ0c
c5vVOiiZ7uOVoj6nlqvWChFPpQ==
=gdZr
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list