1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch e148c3caa9
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 <wk@gnupg.org>
2016-07-13 13:31:12 +02:00
..
2016-07-13 13:31:12 +02:00
2016-06-30 18:50:16 +02:00
2016-02-14 14:46:30 +01:00
2014-10-31 14:21:34 +01:00
2016-07-13 13:31:12 +02:00
2007-07-04 19:49:40 +00:00
2014-11-13 12:01:42 +01:00
2015-02-04 09:15:34 +01:00
2016-07-13 13:31:12 +02:00
2015-02-04 09:15:34 +01:00
2016-06-30 18:50:16 +02:00
2016-06-30 15:28:42 +02:00
2016-07-01 14:16:18 +02:00
2016-06-30 15:31:37 +02:00
2016-07-13 13:31:12 +02:00
2016-01-22 10:54:10 +01:00
2016-06-28 15:56:48 +09:00
2016-07-13 13:31:12 +02:00
2016-06-30 11:45:13 +02:00
2008-12-12 08:54:50 +00:00
2016-05-11 19:27:03 +09:00
2016-07-13 13:31:12 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-03-08 14:08:49 +01:00
2016-07-01 09:47:48 +02:00
2016-05-03 11:26:06 +02:00
2016-06-30 18:50:16 +02:00
2016-07-01 12:48:57 +02:00
2014-01-29 17:45:05 +01:00