Move GPG section to its own page
The public key file is now available for download.
This commit is contained in:
parent
5ae338c557
commit
1e739bcf0f
3 changed files with 52 additions and 25 deletions
|
@ -5,6 +5,9 @@ export default function({ comp }) {
|
||||||
<li className="navbar-list-item home">
|
<li className="navbar-list-item home">
|
||||||
<a href="/">{ comp.icons.Home() }</a>
|
<a href="/">{ comp.icons.Home() }</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li className="navbar-list-item">
|
||||||
|
<a href="/gpg-key" title="GPG Key">{ comp.icons.Key() }</a>
|
||||||
|
</li>
|
||||||
<li className="navbar-list-item">
|
<li className="navbar-list-item">
|
||||||
<a href="/resume" title="Resume">{ comp.icons.FileCV() }</a>
|
<a href="/resume" title="Resume">{ comp.icons.FileCV() }</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
48
gpg-key.tsx
Normal file
48
gpg-key.tsx
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
export const header = {
|
||||||
|
heading: "GPG Key",
|
||||||
|
subheading: "Information about my public GPG key and how to obtain it.",
|
||||||
|
};
|
||||||
|
|
||||||
|
const gpgFingerprint = `
|
||||||
|
pub ed25519/E48D7F49A852F112 2023-07-14 [SC]
|
||||||
|
Key fingerprint = DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112
|
||||||
|
uid Foster Hangdaan <foster@hangdaan.email>
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default function() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<section>
|
||||||
|
<h2>Intro</h2>
|
||||||
|
<p>
|
||||||
|
If you would like to obtain my key but you are not familiar with GPG, then I suggest reading up on GPG before proceeding.
|
||||||
|
You can find more information and guides about GPG on the <a href="https://gnupg.org/" target="_blank">GnuPG official website</a>.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
I do not use keyservers.
|
||||||
|
This is the only place where I provide my key.
|
||||||
|
A key claiming to be mine somewhere else is definitely a fake.
|
||||||
|
</p>
|
||||||
|
<p>You can utilize the public key here to verify software and binaries released by me.</p>
|
||||||
|
<p>
|
||||||
|
You can also use the key to encrypt emails you send to me. In that case, I would also need your public key so I can encrypt the emails I send back to you.
|
||||||
|
The excellent <a href="https://emailselfdefense.fsf.org/" target="_blank">Email Self-Defense Guide by the Free Software Foundation</a> describes how this process works.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h2>Obtaining my key</h2>
|
||||||
|
<p>
|
||||||
|
First, <a href="https://static.fosterhangdaan.com/foster-pubkey.asc" target="_blank" download>download my public key</a>.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Check that it matches the fingerprint below before you import and start using key.
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
{gpgFingerprint.trim()}
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
</section>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
26
index.tsx
26
index.tsx
|
@ -3,12 +3,6 @@ export const header = {
|
||||||
subheading: "Congratulations, stranger. You have found the personal website of Foster Hangdaan.",
|
subheading: "Congratulations, stranger. You have found the personal website of Foster Hangdaan.",
|
||||||
};
|
};
|
||||||
|
|
||||||
const gpgFingerprint = `
|
|
||||||
pub ed25519/E48D7F49A852F112 2023-07-14 [SC]
|
|
||||||
Key fingerprint = DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112
|
|
||||||
uid Foster Hangdaan <foster@hangdaan.email>
|
|
||||||
`;
|
|
||||||
|
|
||||||
export default function({ comp }) {
|
export default function({ comp }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
@ -25,25 +19,7 @@ export default function({ comp }) {
|
||||||
<section>
|
<section>
|
||||||
<h2 id="contact-me">{comp.icons.Mail()} Contact</h2>
|
<h2 id="contact-me">{comp.icons.Mail()} Contact</h2>
|
||||||
<p>The primary method of reaching me is through my email: <a href="mailto:foster@hangdaan.email">foster@hangdaan.email</a>.</p>
|
<p>The primary method of reaching me is through my email: <a href="mailto:foster@hangdaan.email">foster@hangdaan.email</a>.</p>
|
||||||
<p>If you'd like an encrypted response, you can send me your GPG public key. You can find mine in the <a href="#gpg">GPG Key</a> section of this page.</p>
|
<p>If you'd like an encrypted response, you can send me your GPG public key. You can find mine in the <a href="/gpg-key">GPG Key</a> page.</p>
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<h2 id="gpg">{comp.icons.Key()} GPG Key</h2>
|
|
||||||
<p>
|
|
||||||
I do not use keyservers.
|
|
||||||
This is the only place where I officially provide my key.
|
|
||||||
A key claiming to be mine somewhere else is most definitely a phony.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
You can download my public key here.
|
|
||||||
Once you've downloaded and imported my key, check that it matches the fingerprint below.
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
<code>
|
|
||||||
{gpgFingerprint.trim()}
|
|
||||||
</code>
|
|
||||||
</pre>
|
|
||||||
<p>You can find more info about GPG on the <a href="https://gnupg.org/" target="_blank">GnuPG official website</a>.</p>
|
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2 id="donate">{comp.icons.HeartHandshake()} Donating</h2>
|
<h2 id="donate">{comp.icons.HeartHandshake()} Donating</h2>
|
||||||
|
|
Loading…
Reference in a new issue