summaryrefslogtreecommitdiffstats
path: root/doc/gpgsm.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-08-08 10:17:33 +0200
committerWerner Koch <wk@gnupg.org>2011-08-08 10:17:33 +0200
commit663768f9af49098ce91e59b27c58192c09280c3a (patch)
tree8cc9d4612ee195e982270c95becef8f0556ef6f5 /doc/gpgsm.texi
parentDo not print read-only trustdb warning with --quiet. (diff)
downloadgnupg2-663768f9af49098ce91e59b27c58192c09280c3a.tar.xz
gnupg2-663768f9af49098ce91e59b27c58192c09280c3a.zip
Minor doc updates v2.0 vs. v2.1)
Diffstat (limited to '')
-rw-r--r--doc/gpgsm.texi20
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 1f4950a76..0de3daf4d 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -165,12 +165,20 @@ use @samp{--help} to get a list of supported operations.
@table @gnupgtabopt
@item --gen-key
@opindex gen-key
+@ifclear gpgtwoone
+-This command allows the creation of a certificate signing request. It
+-is commonly used along with the @option{--output} option to save the
+-created CSR into a file. If used with the @option{--batch} a parameter
+-file is used to create the CSR.
+@end ifclear
+@ifset gpgtwoone
This command allows the creation of a certificate signing request or a
self-signed certificate. It is commonly used along with the
@option{--output} option to save the created CSR or certificate into a
file. If used with the @option{--batch} a parameter file is used to
create the CSR or certificate and it is further possible to create
non-self-signed certificates.
+@end ifset
@item --list-keys
@itemx -k
@@ -955,10 +963,16 @@ this is a missing certificate.
@node CSR and certificate creation,,,Unattended Usage
@section CSR and certificate creation
+@ifclear gpgtwoone
+@strong{Please notice}: The immediate creation of certificates is only
+supported by GnuPG version 2.1 or later. With a 2.0 version you may
+only create a CSR.
+@end ifclear
+
The command @option{--gen-key} may be used along with the option
-@option{--batch} to either create a certificate signing request (CSR) or an
-X.509 certificate. The is controlled by a parameter file; the format
-of this file is as follows:
+@option{--batch} to either create a certificate signing request (CSR)
+or an X.509 certificate. The is controlled by a parameter file; the
+format of this file is as follows:
@itemize @bullet
@item Text only, line length is limited to about 1000 characters.