Justus Winter
22739433e9
gpg: Properly account for ring trust packets.
...
* g10/keyring.c (keyring_get_keyblock): Use the parser's packet count
instead of counting ourself.
* g10/packet.h (struct parse_packet_ctx_s): New field
'n_parsed_packets'.
(init_parse_packet): Initialize new field.
* g10/parse-packet.c (parse): Count packets.
--
The 'keyring' keystore depends on the number of packets for delete and
update operations. With the rework of the ring trust packets, the
trust packets were no longer properly accounted for leading to keyring
corruptions.
The 'keybox' store was not affected.
GnuPG-bug-id: 3123
GnuPG-bug-id: 3135
GnuPG-bug-id: 3144
Fixes-commit: a8895c99a7d0750132477d80cd66caaf3a709113
Signed-off-by: Justus Winter <justus@g10code.com>
2017-05-08 14:33:11 +02:00
..
2017-03-07 20:25:54 +09:00
2017-03-30 16:01:52 +02:00
2017-04-28 10:06:33 +09:00
2017-03-16 14:32:51 +09:00
2017-03-31 20:07:20 +02:00
2016-11-05 12:02:19 +01:00
2017-03-31 20:07:20 +02:00
2016-11-02 12:53:58 +01:00
2017-03-07 20:25:54 +09:00
2017-04-11 13:52:19 +09: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-03-28 12:11:02 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-31 20:07:20 +02:00
2016-12-20 10:22:05 +01:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-04-17 09:15:13 +09:00
2017-03-07 20:25:54 +09:00
2017-03-30 16:01:52 +02:00
2017-04-28 10:06:33 +09:00
2015-02-04 09:15:34 +01:00
2017-04-28 10:06:33 +09:00
2017-03-31 21:27:16 +02:00
2015-02-04 09:15:34 +01:00
2017-04-12 14:47:30 +09:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2017-03-29 12:08:31 +02:00
2017-03-31 20:08:23 +02:00
2017-04-28 10:06:33 +09:00
2017-04-28 10:06:33 +09:00
2017-03-31 20:07:20 +02:00
2017-03-31 20:07:20 +02:00
2017-04-28 10:06:33 +09:00
2017-05-08 14:33:11 +02:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-04-26 11:39:28 +09:00
2017-03-31 20:07:20 +02:00
2017-05-02 18:55:32 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-04-13 12:54:52 +09:00
2017-05-02 18:55:32 +09:00
2017-03-20 08:40:21 +01:00
2017-05-08 14:33:11 +02:00
2017-05-08 14:33:11 +02:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-01-23 19:16:55 +01:00
2017-03-31 20:07:20 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01: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
2017-03-31 20:08:23 +02:00
2017-04-26 11:39:28 +09:00
2017-04-27 10:33:58 +09:00
2017-01-23 19:16:55 +01:00
2016-09-07 08:55:17 +02:00
2017-03-30 16:01:52 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2017-04-24 14:14:05 +02:00
2017-03-31 20:07:20 +02:00
2017-04-28 10:06:33 +09:00
2017-03-31 20:07:20 +02:00
2017-03-31 20:07:20 +02:00
2017-04-24 14:14:05 +02:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2016-12-06 12:16:56 +01:00
2017-03-31 20:07:20 +02:00
2017-04-28 10:06:33 +09:00
2017-03-31 20:07:20 +02:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00