From 768eb2bf976be5e3f72982275e5fc1c55e7e92a0 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 28 Nov 2021 15:03:08 +0100 Subject: [PATCH] blog: Migrate to new signature method --- content/about.html | 1 - content/verify.html | 46 --------------------------------------------- layout/page.html | 3 --- layout/post.html | 10 +++++----- 4 files changed, 5 insertions(+), 55 deletions(-) delete mode 100644 content/verify.html diff --git a/content/about.html b/content/about.html index 4868195..52f633a 100644 --- a/content/about.html +++ b/content/about.html @@ -34,7 +34,6 @@

About This Page

diff --git a/content/verify.html b/content/verify.html deleted file mode 100644 index 250f1aa..0000000 --- a/content/verify.html +++ /dev/null @@ -1,46 +0,0 @@ - - - -
-
-
-

Page Verification

- -

- In order to allow people to verify that a post has really been - created by me, I sign all blog posts and my "About" page using - my public key. -

- -

Using My Script

-

- To verify a page, you can use - this script - (signature), which you - can also find here in my blog repository. - - verify.sh "$URL", where $URL is the URL on my blog you want to - verify. - -

- WARNING: Never execute a script that you downloaded from the - Internet without checking it first. This also holds true for this one. -
-

- -

What The Script Does

-

- The following are the steps that my script takes to verify a page's signature. It - is written down so that you could verify a page signature even without downloading - my script. - -

    -
  • Download the page source to "page.html"
  • -
  • Extract the PGP signature from the top and save it to "page.html.sig"
  • -
  • Replace the signature in "page.html" with "%%%SIGNED_PAGES_PGP_SIGNATURE%%%" (Without the ")
  • -
  • Verify using gpg --verify page.html.sig page.html
  • -
-

-
-
-
diff --git a/layout/page.html b/layout/page.html index a8f4537..cc7eab0 100644 --- a/layout/page.html +++ b/layout/page.html @@ -1,7 +1,4 @@ - {{ title }} diff --git a/layout/post.html b/layout/post.html index 2c6744f..277519d 100644 --- a/layout/post.html +++ b/layout/post.html @@ -5,6 +5,11 @@

// Posted {{ date }}

+ + {{ mathjax_warning }} {{ content }} @@ -14,11 +19,6 @@ If you have any questions or comments, then feel free to send me an email (Preferably with GPG encryption) to {{ email_user }} [weird "a" with a circle] {{ email_domain }}. - -

- This post is signed using my public key. - See here for more information. -