Suggestion - listing options
dshaw at jabberwocky.com
Fri Feb 6 08:05:42 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Feb 06, 2004 at 09:22:14AM +0100, Stephane Corthesy wrote:
> 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).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
-----END PGP SIGNATURE-----
More information about the Gnupg-devel