aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-13 11:31:12 +0000
committerWerner Koch <[email protected]>2016-07-13 11:31:12 +0000
commite148c3caa90fbadba32bdbfea9513392e3aea598 (patch)
treefff3a49be5c2659ab87195e5b0a4f88e51a49205 /agent/command-ssh.c
parentwks: Use correct key for the confirmation (diff)
downloadgnupg-e148c3caa90fbadba32bdbfea9513392e3aea598.tar.gz
gnupg-e148c3caa90fbadba32bdbfea9513392e3aea598.zip
gpg: New option --mimemode.
* g10/gpg.c (oMimemode): New. (opts): Add --mimemode. (main): Use --mimemode only in rfc4880bis compliance mode. * g10/options.h (struct opt): Add field "mimemode". * g10/build-packet.c (do_plaintext): Allow for mode 'm'. * g10/encrypt.c (encrypt_simple, encrypt_crypt): Use 'm' if requested. * g10/plaintext.c (handle_plaintext): Handle 'm' mode. * g10/sign.c (write_plaintext_packet): Handle 'm' mode. (sign_file, sign_symencrypt_file): Use 'm' if requested. -- Thsi patch prepares for a proposed change in RFC4880bis to support a MIME flag. A literal data packet with the mime flag set is handled like a 't' or 'u' but CR are not removed. The PLAINTEXT status line will also indicate a MIME content. If --mimemode is used without --rfc4880bis 't' will be used. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions