From e6a62d453dfe73b3b612e1e9f51eb5726a2c4390 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 6 Jul 2020 11:51:10 +0200 Subject: [PATCH] Add discourse guide --- views/guides.php | 1 + views/guides/discourse.content.php | 30 ++++++++++++++++++++++++++++++ views/guides/discourse.title.php | 1 + 3 files changed, 32 insertions(+) create mode 100644 views/guides/discourse.content.php create mode 100644 views/guides/discourse.title.php diff --git a/views/guides.php b/views/guides.php index aa674a1..cf0bd9f 100644 --- a/views/guides.php +++ b/views/guides.php @@ -23,6 +23,7 @@ Adding a Lobste.rs proof
Adding a Hackernews proof
Adding a Reddit proof
+ Adding a Discourse proof
Adding a Github proof
Adding a XMPP proof
diff --git a/views/guides/discourse.content.php b/views/guides/discourse.content.php new file mode 100644 index 0000000..fcf9cfd --- /dev/null +++ b/views/guides/discourse.content.php @@ -0,0 +1,30 @@ +

Let's add a decentralized Discourse proof to your OpenPGP keys.

+ +

Update the Discourse account

+ +

Log in to the discourse instance website and add the following text to your About me (make sure to replace FINGERPRINT):

+This is an OpenPGP proof that connects my OpenPGP key to this Discourse account. +For details check out https://keyoxide.org/guides/openpgp-proofs +

[Verifying my OpenPGP key: openpgp4fpr:FINGERPRINT] +
+ +

After posting, copy the link to your profile page (it should end with your /u/USERNAME).

+ +

Update the PGP key

+ +

First, edit the key (make sure to replace FINGERPRINT):

+gpg --edit-key FINGERPRINT + +

Add a new notation:

+notation + +

Enter the notation (make sure to replace PROFILE_URL with the link to the profile copied above):

+proof@metacode.biz=PROFILE_URL + +

Save the key:

+save + +

Upload the key to WKD or keys.openpgp.org (make sure to replace FINGERPRINT):

+gpg --send-keys FINGERPRINT + +

And you're done! Reload your profile page, it should now show a verified Discourse account.

diff --git a/views/guides/discourse.title.php b/views/guides/discourse.title.php new file mode 100644 index 0000000..f8016e3 --- /dev/null +++ b/views/guides/discourse.title.php @@ -0,0 +1 @@ +Adding a Discourse proof