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 --- test_data/server_list.json.forged_keyid.minisig | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 test_data/server_list.json.forged_keyid.minisig (limited to 'test_data/server_list.json.forged_keyid.minisig') diff --git a/test_data/server_list.json.forged_keyid.minisig b/test_data/server_list.json.forged_keyid.minisig deleted file mode 100644 index efa349d..0000000 --- a/test_data/server_list.json.forged_keyid.minisig +++ /dev/null @@ -1,4 +0,0 @@ -untrusted comment: this signature was created with wrong_secret.key but has key ID changed to that of public.key -RURMm6vfaPgH35aarz3NMq4gbv6JvzOnjG003bDe6USu+HT/JzuxHjQcQGE/KBPdyCF6BDDwwFu+NVmi5jotYCJHWOEqSBU70gE= -trusted comment: timestamp:10 file:server_list.json hashed -3BWYJamM3t6ImuXQufTeO81UMZNyM7TujMu7SCmR+oapsSEBpmkazGOgzlJYR53HP9K9zrEA+4lV8gFFngooBA== -- cgit v1.2.3