Home GnuPG
Diffusion GnuPG 99069e9f6b89

gpg-mail-type: Assume text/plain for missing content-type.

Description

gpg-mail-type: Assume text/plain for missing content-type.

* tools/gpg-mail-tube.c (mail_tube_encrypt): Rename var ct_text for
clarity.  Replace debug diagnostic by log_info. Assume text/plain for
missing content-type.

Without this fix we would create message/rfc822 attachment instead of
a text/plain attachment with the encrypted body.

Details

Provenance
wernerAuthored on Nov 7 2024, 10:49 AM
Parents
rG0daad02dc073: gpg-mail-tube: New feature --as-attach.
Branches
Unknown
Tags
Unknown