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.wrong_key.minisig | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/test_data/server_list.json.wrong_key.minisig (limited to 'src/test_data/server_list.json.wrong_key.minisig') diff --git a/src/test_data/server_list.json.wrong_key.minisig b/src/test_data/server_list.json.wrong_key.minisig new file mode 100644 index 0000000..5a83c0e --- /dev/null +++ b/src/test_data/server_list.json.wrong_key.minisig @@ -0,0 +1,4 @@ +untrusted comment: signature from minisign secret key +RUTQvDHvQuYCCJaarz3NMq4gbv6JvzOnjG003bDe6USu+HT/JzuxHjQcQGE/KBPdyCF6BDDwwFu+NVmi5jotYCJHWOEqSBU70gE= +trusted comment: timestamp:10 file:server_list.json hashed +3BWYJamM3t6ImuXQufTeO81UMZNyM7TujMu7SCmR+oapsSEBpmkazGOgzlJYR53HP9K9zrEA+4lV8gFFngooBA== -- cgit v1.2.3