blog: Migrate to new signature method
This commit is contained in:
parent
f1411df62a
commit
768eb2bf97
@ -34,7 +34,6 @@
|
|||||||
<h3>About This Page</h3>
|
<h3>About This Page</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://{{ git_url }}/PapaTutuWawa/blog.polynom.me">Source</a></li>
|
<li><a href="https://{{ git_url }}/PapaTutuWawa/blog.polynom.me">Source</a></li>
|
||||||
<li>All pages are signed using my public key. Use this <a href="/assets/files/verify.sh">script</a> (<a href="/assets/files/verify.sh.sig"><u>signature</u></a>) to verify or <a href="/verify.html">see here</a> to learn more</li>
|
|
||||||
<li>Last updated <i>{{ build_time }}</i></li>
|
<li>Last updated <i>{{ build_time }}</i></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
<!-- title: Page Verification -->
|
|
||||||
<!-- description: -->
|
|
||||||
<!-- render: yes -->
|
|
||||||
<div class="vertical text">
|
|
||||||
<div class="horizontal-center">
|
|
||||||
<div class="text-content">
|
|
||||||
<h2>Page Verification</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
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 <a href="https://{{ email_gpg_url }}">public key</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>Using My Script</h3>
|
|
||||||
<p>
|
|
||||||
To verify a page, you can use
|
|
||||||
<a href="/assets/files/verify.sh">this script</a>
|
|
||||||
(<a href="/assets/files/verify.sh.sig">signature</a>), which you
|
|
||||||
can also find <a href="https://git.polynom.me/PapaTutuWawa/blog.polynom.me/src/branch/master/assets/files/verify.sh">here</a> in my blog repository.
|
|
||||||
|
|
||||||
<code>verify.sh "$URL"</code>, where <code>$URL</code> is the URL on my blog you want to
|
|
||||||
verify.
|
|
||||||
|
|
||||||
<div class="warning">
|
|
||||||
WARNING: Never execute a script that you downloaded from the
|
|
||||||
Internet without checking it first. This also holds true for this one.
|
|
||||||
</div>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>What The Script Does</h3>
|
|
||||||
<p>
|
|
||||||
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.
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Download the page source to "page.html"</li>
|
|
||||||
<li>Extract the PGP signature from the top and save it to "page.html.sig"</li>
|
|
||||||
<li>Replace the signature in "page.html" with "%%%SIGNED_PAGES_PGP_SIGNATURE%%%" (Without the ")</li>
|
|
||||||
<li>Verify using <code>gpg --verify page.html.sig page.html</code></li>
|
|
||||||
</ul>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,7 +1,4 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--!
|
|
||||||
%%%SIGNED_PAGES_PGP_SIGNATURE%%%
|
|
||||||
-->
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
|
@ -5,6 +5,11 @@
|
|||||||
|
|
||||||
<p>// Posted {{ date }}</p>
|
<p>// Posted {{ date }}</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://{{ git_url }}/PapaTutuWawa/blog.polynom.me/src/branch/master/content/blog/{{ file_name }}">Post source</a></li>
|
||||||
|
<li><a href="https://{{ git_url }}/PapaTutuWawa/blog.polynom.me/raw/branch/master/content/blog/{{ file_name }}.sig">Signed</a> with <a href="https://{{ email_gpg_url }}">this publickey</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
{{ mathjax_warning }}
|
{{ mathjax_warning }}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
@ -14,11 +19,6 @@
|
|||||||
If you have any questions or comments, then feel free to send me an email
|
If you have any questions or comments, then feel free to send me an email
|
||||||
(Preferably with <a href="https://{{ email_gpg_url }}">GPG encryption</a>) to
|
(Preferably with <a href="https://{{ email_gpg_url }}">GPG encryption</a>) to
|
||||||
{{ email_user }} [weird "a" with a circle] {{ email_domain }}.
|
{{ email_user }} [weird "a" with a circle] {{ email_domain }}.
|
||||||
|
|
||||||
<p>
|
|
||||||
This post is signed using my <a href="https://{{ email_gpg_url }}">public key</a>.
|
|
||||||
See <a href=/verify.html>here</a> for more information.
|
|
||||||
</p>
|
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user