diff --git a/_components/navbar.tsx b/_components/navbar.tsx index beda19d..247156d 100644 --- a/_components/navbar.tsx +++ b/_components/navbar.tsx @@ -5,6 +5,9 @@ export default function({ comp }) {
  • { comp.icons.Home() }
  • +
  • + { comp.icons.Key() } +
  • { comp.icons.FileCV() }
  • diff --git a/gpg-key.tsx b/gpg-key.tsx new file mode 100644 index 0000000..e032fbf --- /dev/null +++ b/gpg-key.tsx @@ -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 +`; + +export default function() { + return ( + <> +
    +

    Intro

    +

    + 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 GnuPG official website. +

    +

    + 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. +

    +

    You can utilize the public key here to verify software and binaries released by me.

    +

    + 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 Email Self-Defense Guide by the Free Software Foundation describes how this process works. +

    +
    +
    +

    Obtaining my key

    +

    + First, download my public key. +

    +

    + Check that it matches the fingerprint below before you import and start using key. +

    +
    +          
    +            {gpgFingerprint.trim()}
    +          
    +        
    +
    + + ); +} diff --git a/index.tsx b/index.tsx index 38a680b..055da5a 100644 --- a/index.tsx +++ b/index.tsx @@ -3,12 +3,6 @@ export const header = { 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 -`; - export default function({ comp }) { return ( <> @@ -25,25 +19,7 @@ export default function({ comp }) {

    {comp.icons.Mail()} Contact

    The primary method of reaching me is through my email: foster@hangdaan.email.

    -

    If you'd like an encrypted response, you can send me your GPG public key. You can find mine in the GPG Key section of this page.

    -
    -
    -

    {comp.icons.Key()} GPG Key

    -

    - 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. -

    -

    - You can download my public key here. - Once you've downloaded and imported my key, check that it matches the fingerprint below. -

    -
    -          
    -            {gpgFingerprint.trim()}
    -          
    -        
    -

    You can find more info about GPG on the GnuPG official website.

    +

    If you'd like an encrypted response, you can send me your GPG public key. You can find mine in the GPG Key page.