DarkFeather 2022-02-16 09:29:57 -06:00
parent bc65da5b13
commit c03e66dbbd
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
1 changed files with 2 additions and 2 deletions

View File

@ -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'