diff options
author | Werner Koch <[email protected]> | 2015-03-10 14:26:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-03-10 14:35:30 +0000 |
commit | 14af2be022ccaf826db048fc16959d0222ff1134 (patch) | |
tree | e2709ea773358d16deaeb238f55a087e12940929 /doc | |
parent | scd: fix for 64-bit arch. (diff) | |
download | gnupg-14af2be022ccaf826db048fc16959d0222ff1134.tar.gz gnupg-14af2be022ccaf826db048fc16959d0222ff1134.zip |
gpg: Add --list-gcrypt-config and "curve" item for --list-config.
* common/openpgp-oid.c (curve_supported_p): New.
(openpgp_enum_curves): New.
* common/t-openpgp-oid.c (test_openpgp_enum_curves): New.
(main): Add option --verbose.
* g10/gpg.c (opts): Add --list-gcrypt-config.
(list_config): Add items "curve" and "curveoid". Remove unused code.
--
GnuPG-bug-id: 1917
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DETAILS | 11 | ||||
-rw-r--r-- | doc/gpg.texi | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/DETAILS b/doc/DETAILS index dcc877a0d..4b8249706 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -287,19 +287,22 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB: semicolons. The algorithm numbers are as specified in RFC-4880. Note that in contrast to the --status-fd interface these are _not_ the Libgcrypt identifiers. + Using =pubkeyname= prints names instead of numbers. : cfg:pubkey:1;2;3;16;17 - cipher :: The third field contains the symmetric ciphers this version of GnuPG supports, separated by semicolons. The cipher numbers are as specified in RFC-4880. + Using =ciphername= prints names instead of numbers. : cfg:cipher:2;3;4;7;8;9;10 - digest :: The third field contains the digest (hash) algorithms this version of GnuPG supports, separated by semicolons. The digest numbers are as specified in - RFC-4880. + RFC-4880. Using =digestname= prints names instead of + numbers. : cfg:digest:1;2;3;8;9;10 @@ -319,6 +322,12 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB: would result in: : cfg:group:mynames:patti;joe;0x12345678;paige + - curve :: The third field contains the curve names this version + of GnuPG supports, separated by semicolons. Using + =curveoid= prints OIDs instead of numbers. + + : cfg:curve:ed25519;nistp256;nistp384;nistp521 + * Format of the --status-fd output diff --git a/doc/gpg.texi b/doc/gpg.texi index b90f48759..a326233fa 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2945,6 +2945,10 @@ source distribution for the details of which configuration items may be listed. @option{--list-config} is only usable with @option{--with-colons} set. +@item --list-gcrypt-config +@opindex list-gcrypt-config +Display various internal configuration parameters of Libgcrypt. + @item --gpgconf-list @opindex gpgconf-list This command is similar to @option{--list-config} but in general only |