doc: Add warning that FILE_NAME is not part of the signed data.

--
This commit is contained in:
Werner Koch 2018-08-27 11:34:30 +02:00
parent 4f28fbddd3
commit 702566b36c
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 12 additions and 3 deletions

View File

@ -5845,7 +5845,15 @@ verification was attempted.
@item char *file_name @item char *file_name
This is the filename of the original plaintext message file if it is 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 table
@end deftp @end deftp

View File

@ -1591,11 +1591,12 @@ struct _gpgme_op_verify_result
{ {
gpgme_signature_t signatures; gpgme_signature_t signatures;
/* The original file name of the plaintext message, if /* The original file name of the plaintext message, if available.
available. */ * Warning: This information is not covered by the signature. */
char *file_name; char *file_name;
/* The message claims that the content is a MIME object. */ /* The message claims that the content is a MIME object. */
/* Warning: This flag is not covered by the signature. */
unsigned int is_mime : 1; unsigned int is_mime : 1;
/* Internal to GPGME; do not use. */ /* Internal to GPGME; do not use. */