From c03e66dbbd95a701f24b45db5a31fee4f0c1d9e2 Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Wed, 16 Feb 2022 09:29:57 -0600 Subject: [PATCH] Update for https://foundation.aninix.net/AniNIX/ShadowArch/pulls/5 --- warrant_canary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/warrant_canary b/warrant_canary index 96bed21..dca0766 100755 --- a/warrant_canary +++ b/warrant_canary @@ -43,7 +43,7 @@ function RecentNews() { # param rssFeed: the url to pull rssFeed="$1" date="$2" - curl -s "$rssFeed" | grep "$date" | egrep -m 5 link | tail -n 1 | cut -f 2 -d '>' | cut -f 1 -d '?' + curl -s "$rssFeed" | grep "$date" | egrep -m 5 link | tail -n 1 | cut -f 2 -d '>' | cut -f 1 -d '?' | cut -f 1 -d '<' } function CreateCanary() { @@ -60,7 +60,7 @@ Recent news: * $(RecentNews "$npr" "$nprdate") To verify this message, on the terminal import our public key from $keyserver and verify the canary: -$ gpg --keyserver $keyserver --recv-key $key +$ gpg --fetch-keys https://foundation.aninix.net/AniNIX/ShadowArch/raw/branch/main/EtcFiles/aninix.gpg $ gpg2 --fingerprint $key $(gpg2 --fingerprint $key) $ gpg --verify <(curl -s $canary) 2>&1 | grep 'Good signature'