1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 344b548dc7
gpg: Also detect a plaintext packet before an encrypted packet.
* g10/mainproc.c (proc_encrypted): Print warning and later force an
error.
--

Note that when this error is triggered the plaintext from the literal
data packet has already been outputted before the BEGIN_DECRYPTION
status line.  We fail only later to get more information.  Callers
need to check and act upon the decryption error code anyway.

Thanks to Marcus for pointing out this case.

GnuPG-bug-id: 4000
Signed-off-by: Werner Koch <wk@gnupg.org>
2018-06-06 15:46:34 +02:00
..
2018-05-29 12:42:52 +02:00
2017-03-07 20:25:54 +09:00
2018-01-21 16:30:53 +01:00
2017-11-22 20:54:47 +01:00
2018-05-29 13:01:12 +02:00
2017-03-07 20:25:54 +09:00
2018-05-29 13:01:12 +02:00
2015-02-04 09:15:34 +01:00
2018-06-06 11:57:34 +02:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-09-13 09:18:15 +02:00
2017-03-07 20:25:54 +09:00
2018-06-06 11:57:34 +02:00
2018-05-29 12:42:52 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-05-29 13:01:12 +02:00
2017-03-07 20:25:54 +09:00
2018-05-29 13:01:12 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2018-05-29 13:01:12 +02:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2018-01-23 12:07:57 +01:00
2016-03-08 14:08:49 +01:00
2017-03-07 20:25:54 +09:00
2016-12-06 12:16:56 +01:00
2017-04-28 10:06:33 +09:00