aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-08-27 09:34:30 +0000
committerWerner Koch <[email protected]>2018-08-27 09:43:02 +0000
commit702566b36c1138b2154ce054254641edcbe472fb (patch)
tree03568e5f50f85fd1650a3f5b3b2a3c3bd26528ec
parentjs: extend information on decoding in decrypt (diff)
downloadgpgme-702566b36c1138b2154ce054254641edcbe472fb.tar.gz
gpgme-702566b36c1138b2154ce054254641edcbe472fb.zip
doc: Add warning that FILE_NAME is not part of the signed data.
--
-rw-r--r--doc/gpgme.texi10
-rw-r--r--src/gpgme.h.in5
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. */