summaryrefslogtreecommitdiffstats
path: root/doc/gpgsm.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-18 15:23:18 +0200
committerWerner Koch <wk@gnupg.org>2006-09-18 15:23:18 +0200
commitf132e66f4967293bcf9c35a228084a2dd6912ddb (patch)
tree04e0d124c4c779737b8f4eb0758aa487d77e15c2 /doc/gpgsm.texi
parentAdded common certificates. (diff)
downloadgnupg2-f132e66f4967293bcf9c35a228084a2dd6912ddb.tar.xz
gnupg2-f132e66f4967293bcf9c35a228084a2dd6912ddb.zip
Ready for another releasegnupg-1.9.23
Diffstat (limited to 'doc/gpgsm.texi')
-rw-r--r--doc/gpgsm.texi13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index a7a24022f..d56cb8119 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -849,13 +849,16 @@ recipients are valid, the client has to take care of this. All
successful @code{ENCRYPT} command.
@example
- INPUT FD=@var{n} [--armor|--base64|--binary]
+ INPUT FD[=@var{n}] [--armor|--base64|--binary]
@end example
Set the file descriptor for the message to be encrypted to @var{n}.
Obviously the pipe must be open at that point, the server establishes
its own end. If the server returns an error the client should consider
-this session failed.
+this session failed. If @var{n} is not given, this commands uses the
+last file descriptor passed to the application.
+@xref{fun-assuan_sendfd, ,the assuan_sendfd function,assuan,the Libassuan
+manual}, on how to do descriptor passing.
The @code{--armor} option may be used to advice the server that the
input data is in @acronym{PEM} format, @code{--base64} advices that a
@@ -865,7 +868,7 @@ tries to figure out the used encoding, but this may not always be
correct.
@example
- OUTPUT FD=@var{n} [--armor|--base64]
+ OUTPUT FD[=@var{n}] [--armor|--base64]
@end example
Set the file descriptor to be used for the output (i.e. the encrypted
@@ -923,13 +926,13 @@ requesting this from the user.
Signing is usually done with these commands:
@example
- INPUT FD=@var{n} [--armor|--base64|--binary]
+ INPUT FD[=@var{n}] [--armor|--base64|--binary]
@end example
This tells @command{GPGSM} to read the data to sign from file descriptor @var{n}.
@example
- OUTPUT FD=@var{m} [--armor|--base64]
+ OUTPUT FD[=@var{m}] [--armor|--base64]
@end example
Write the output to file descriptor @var{m}. If a detached signature is