From a4b7e2e44816e93633c08f379862165ae9a034ed Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Oct 2013 19:09:36 +0200 Subject: [PATCH] doc: Update from master --- doc/gpg-agent.texi | 5 +++++ doc/gpg.texi | 8 ++++++++ doc/scdaemon.texi | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index f832b8ebd..bfb1d9353 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -897,10 +897,15 @@ Here is an example session: C: D (b 3F444677CA))) C: END S: # session key follows + S: S PADDING 0 S: D (value 1234567890ABCDEF0) S: OK descryption successful @end example +The “PADDING” status line is only send if gpg-agent can tell what kind +of padding is used. As of now only the value 0 is used to indicate +that the padding has been removed. + @node Agent PKSIGN @subsection Signing a Hash diff --git a/doc/gpg.texi b/doc/gpg.texi index a88ddca41..c588d7a1d 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -252,6 +252,14 @@ signed stuff from STDIN, use @samp{-} as the second filename. For security reasons a detached signature cannot read the signed material from STDIN without denoting it in the above way. +Note: When verifying a cleartext signature, @command{gpg} verifies +only what makes up the cleartext signed data and not any extra data +outside of the cleartext signature or header lines following directly +the dash marker line. The option @code{--output} may be used to write +out the actual signed data; but there are other pitfalls with this +format as well. It is suggested to avoid cleartext signatures in +favor of detached signatures. + @item --multifile @opindex multifile This modifies certain other commands to accept multiple files for diff --git a/doc/scdaemon.texi b/doc/scdaemon.texi index f454f1428..1a4b6d7b1 100644 --- a/doc/scdaemon.texi +++ b/doc/scdaemon.texi @@ -600,6 +600,10 @@ using the command where @var{keyid} is the hexified ID of the key to be used. +If the card is ware of the apdding format a status line with padding +information is send before the plaintext data. The key for this +status line is @code{PADDING} with the only defined value being 0 and +meaning padding has been removed. @node Scdaemon GETATTR @subsection Read an attribute's value.