From c5a7e704d1c836119319ce3b308642f195b078d9 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 22 Jan 2025 21:19:22 +0100 Subject: feat: canarytool :3 --- src/routes/canaries/+page.svelte | 105 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 2 deletions(-) (limited to 'src/routes/canaries/+page.svelte') diff --git a/src/routes/canaries/+page.svelte b/src/routes/canaries/+page.svelte index adbbdcc..24e968a 100644 --- a/src/routes/canaries/+page.svelte +++ b/src/routes/canaries/+page.svelte @@ -1,5 +1,106 @@ + + -{@debug keyStore} + + Warrant Canaries - mem.estrogen.zone + + +
+
+ {#await initKeystore} + {#if browser} + Preparing... + {:else} + Awaiting Browser + + {/if} + {:then _} +
+ {#each canaries as canary} + + {/each} +
+ {:catch e} +
+ Encoutnered Error: +
{JSON.stringify(
+            {
+              raw: e,
+              fileName: "fileName" in e ? e.fileName : undefined,
+              name: "name" in e ? e.name : undefined,
+              message: "message" in e ? e.message : undefined,
+              stack: "stack" in e ? e.stack : undefined,
+            },
+            null,
+            2,
+          )}
+
+ {/await} +
+ +
+

+ + This page contains various liberty canaries + that I, or my friends, depend upon or are otherwise interested in. + + +
+ It makes an attempt to validate their signatures, however it does not attempt + to check if they've been updated in time for their next scheduled update. + It is your responsibility to ensure that the canary's contents match your + requirements. +
+ +
+ The server at + {#if typeof location !== "undefined"}{location.host ?? + location.hostname}{:else}mem.estrogen.zone{/if} + serves the keys and the canaries. Make sure you trust it to serve correct + keys and canaries, or validate the signatures of the + Signed links with keys obtained externally. +
+
If a signature check passes, the background of the respective + canary turns + white. Whilst fetching, it's + background turns blue. If a + signature check fails, it will turn + red. If the canary cannot be + found, it turns a different shade of + red.
+

+
+
-- cgit v1.2.3