From a6544069f98fdbfce4ac215dd5f0ee0660469c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Mon, 27 Jun 2022 10:10:51 +0200 Subject: [new /keys response] added proper hash verification - Running XOR of all SHA-512 hashes of each denomination's public key is compared against the "hash" value in the JSON blob. - Fixed a bug during creation of the running XOR. --- src/json/json_helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/json') diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 9752bb9f8..b29a49b3a 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -265,6 +265,8 @@ parse_denomination_group (void *cls, GNUNET_JSON_spec_uint32 ("age_mask", &group->age_mask.bits), &age_mask_missing), + GNUNET_JSON_spec_fixed_auto ("hash", + &group->hash), GNUNET_JSON_spec_end () }; const char *emsg; -- cgit v1.2.3