From 23e63807085b13a9b221c3374d05099559583011 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 9 Feb 2022 18:10:09 +0100 Subject: Add signature verification to list retrieval - Move test data to src - Verify signatures by calling the Verify method - Add a customizable parameter to force prehashed signatures Signed-off-by: jwijenbergh --- src/test_data/server_list.json.tc_nohashed.minisig | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/test_data/server_list.json.tc_nohashed.minisig (limited to 'src/test_data/server_list.json.tc_nohashed.minisig') diff --git a/src/test_data/server_list.json.tc_nohashed.minisig b/src/test_data/server_list.json.tc_nohashed.minisig new file mode 100644 index 0000000..1d140c1 --- /dev/null +++ b/src/test_data/server_list.json.tc_nohashed.minisig @@ -0,0 +1,4 @@ +untrusted comment: signature from minisign secret key +RURMm6vfaPgH3997FX/cHwhXJpcluwbNiznrfYV83WS/Gsd3BeO/g10Mo7Z9N5rMSXcpGrmT2CagiEEm5zSw/MEnTqs4YWICdQs= +trusted comment: timestamp:10 file:server_list.json +HaPGKT+Jqxjyw2Nt1GEKaPIZsAmVl/RI6p1mQ+S1LqzYicVgT5GxPs9NR6khdGGIFvo/xhVkXFceAWTRUCVQAg== -- cgit v1.2.3