From 702566b36c1138b2154ce054254641edcbe472fb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 27 Aug 2018 11:34:30 +0200 Subject: [PATCH] doc: Add warning that FILE_NAME is not part of the signed data. -- --- doc/gpgme.texi | 10 +++++++++- src/gpgme.h.in | 5 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/doc/gpgme.texi b/doc/gpgme.texi index aff72405..5c1757d8 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -5845,7 +5845,15 @@ verification was attempted. @item char *file_name This is the filename of the original plaintext message file if it is -known, otherwise this is a null pointer. +known, otherwise this is a null pointer. Warning: The filename is +not covered by the signature. + +@item unsigned int is_mime : 1; +@since{1.11.0} + +The message claims that the content is a MIME object. Warning: This +flag is not covered by the signature. + @end table @end deftp diff --git a/src/gpgme.h.in b/src/gpgme.h.in index 35968017..e4ea466c 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -1591,11 +1591,12 @@ struct _gpgme_op_verify_result { gpgme_signature_t signatures; - /* The original file name of the plaintext message, if - available. */ + /* The original file name of the plaintext message, if available. + * Warning: This information is not covered by the signature. */ char *file_name; /* The message claims that the content is a MIME object. */ + /* Warning: This flag is not covered by the signature. */ unsigned int is_mime : 1; /* Internal to GPGME; do not use. */