diff options
author | Werner Koch <[email protected]> | 2021-04-20 07:37:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-04-20 07:37:56 +0000 |
commit | 51419d63415ae2aa029f8829099b6789b264edc5 (patch) | |
tree | af217258af2d08d952531bead97d39b058da5fbf /doc/gpgsm.texi | |
parent | build: Fix build problems on macOS for gpgsm tests and gpg-card. (diff) | |
download | gnupg-51419d63415ae2aa029f8829099b6789b264edc5.tar.gz gnupg-51419d63415ae2aa029f8829099b6789b264edc5.zip |
sm: New command --show-certs
* sm/keylist.c (do_show_certs): New.
(gpgsm_show_certs): New.
* sm/gpgsm.c (aShowCerts): New.
(opts): Add --show-certs.
(main): Call gpgsm_show_certs.
--
I have been using libksba test programs for countless times to look at
certificates and I always wanted to add such a feature to gpgsm. This
is simply much more convenient.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/gpgsm.texi')
-rw-r--r-- | doc/gpgsm.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi index 886521076..1d3a7e07e 100644 --- a/doc/gpgsm.texi +++ b/doc/gpgsm.texi @@ -221,6 +221,17 @@ List certificates matching @var{pattern} using an external server. This utilizes the @code{dirmngr} service. It uses a format useful mainly for debugging. +@item --show-certs [@var{files}] +@opindex show-certs +This command takes certificate files as input and prints information +about them in the same format as @option{--dump-cert} does. Each file +may either contain a single binary certificate or several PEM encoded +certificates. If no files are given, the input is taken from stdin. + +Please note that the listing format may be changed in future releases +and that the option @option{--with-colons} has currently no effect. + + @item --keydb-clear-some-cert-flags @opindex keydb-clear-some-cert-flags This is a debugging aid to reset certain flags in the key database |