From 72f3579842688a50468851a2534fba456f52ebde Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 28 Aug 2020 01:35:48 +0200 Subject: [PATCH] Move guides to different folder --- {guides => content/guides}/contributing.md | 0 {guides => content/guides}/devto.md | 0 {guides => content/guides}/discourse.md | 0 {guides => content/guides}/dns.md | 0 {guides => content/guides}/encrypt.md | 0 .../guides}/feature-comparison-keybase.md | 0 {guides => content/guides}/gitea.md | 0 {guides => content/guides}/github.md | 0 {guides => content/guides}/gitlab.md | 0 {guides => content/guides}/hackernews.md | 0 {guides => content/guides}/lobsters.md | 0 .../guides}/managing-proofs-deleting.md | 0 .../guides/managing-proofs-key.md | 0 content/guides/managing-proofs-listing.md | 29 +++++++++++++++++++ {guides => content/guides}/mastodon.md | 0 .../guides}/migrating-from-keybase.md | 0 {guides => content/guides}/openpgp-proofs.md | 0 {guides => content/guides}/pixelfed.md | 0 {guides => content/guides}/pleroma.md | 0 {guides => content/guides}/proofs.md | 0 {guides => content/guides}/reddit.md | 0 .../guides}/self-hosting-keyoxide.md | 0 .../guides}/service-provider.md | 0 {guides => content/guides}/twitter.md | 0 {guides => content/guides}/verify.md | 0 .../guides}/web-key-directory.md | 0 {guides => content/guides}/xmpp.md | 0 routes/main.js | 2 +- 28 files changed, 30 insertions(+), 1 deletion(-) rename {guides => content/guides}/contributing.md (100%) rename {guides => content/guides}/devto.md (100%) rename {guides => content/guides}/discourse.md (100%) rename {guides => content/guides}/dns.md (100%) rename {guides => content/guides}/encrypt.md (100%) rename {guides => content/guides}/feature-comparison-keybase.md (100%) rename {guides => content/guides}/gitea.md (100%) rename {guides => content/guides}/github.md (100%) rename {guides => content/guides}/gitlab.md (100%) rename {guides => content/guides}/hackernews.md (100%) rename {guides => content/guides}/lobsters.md (100%) rename {guides => content/guides}/managing-proofs-deleting.md (100%) rename guides/managing-proofs-listing.md => content/guides/managing-proofs-key.md (100%) create mode 100644 content/guides/managing-proofs-listing.md rename {guides => content/guides}/mastodon.md (100%) rename {guides => content/guides}/migrating-from-keybase.md (100%) rename {guides => content/guides}/openpgp-proofs.md (100%) rename {guides => content/guides}/pixelfed.md (100%) rename {guides => content/guides}/pleroma.md (100%) rename {guides => content/guides}/proofs.md (100%) rename {guides => content/guides}/reddit.md (100%) rename {guides => content/guides}/self-hosting-keyoxide.md (100%) rename {guides => content/guides}/service-provider.md (100%) rename {guides => content/guides}/twitter.md (100%) rename {guides => content/guides}/verify.md (100%) rename {guides => content/guides}/web-key-directory.md (100%) rename {guides => content/guides}/xmpp.md (100%) diff --git a/guides/contributing.md b/content/guides/contributing.md similarity index 100% rename from guides/contributing.md rename to content/guides/contributing.md diff --git a/guides/devto.md b/content/guides/devto.md similarity index 100% rename from guides/devto.md rename to content/guides/devto.md diff --git a/guides/discourse.md b/content/guides/discourse.md similarity index 100% rename from guides/discourse.md rename to content/guides/discourse.md diff --git a/guides/dns.md b/content/guides/dns.md similarity index 100% rename from guides/dns.md rename to content/guides/dns.md diff --git a/guides/encrypt.md b/content/guides/encrypt.md similarity index 100% rename from guides/encrypt.md rename to content/guides/encrypt.md diff --git a/guides/feature-comparison-keybase.md b/content/guides/feature-comparison-keybase.md similarity index 100% rename from guides/feature-comparison-keybase.md rename to content/guides/feature-comparison-keybase.md diff --git a/guides/gitea.md b/content/guides/gitea.md similarity index 100% rename from guides/gitea.md rename to content/guides/gitea.md diff --git a/guides/github.md b/content/guides/github.md similarity index 100% rename from guides/github.md rename to content/guides/github.md diff --git a/guides/gitlab.md b/content/guides/gitlab.md similarity index 100% rename from guides/gitlab.md rename to content/guides/gitlab.md diff --git a/guides/hackernews.md b/content/guides/hackernews.md similarity index 100% rename from guides/hackernews.md rename to content/guides/hackernews.md diff --git a/guides/lobsters.md b/content/guides/lobsters.md similarity index 100% rename from guides/lobsters.md rename to content/guides/lobsters.md diff --git a/guides/managing-proofs-deleting.md b/content/guides/managing-proofs-deleting.md similarity index 100% rename from guides/managing-proofs-deleting.md rename to content/guides/managing-proofs-deleting.md diff --git a/guides/managing-proofs-listing.md b/content/guides/managing-proofs-key.md similarity index 100% rename from guides/managing-proofs-listing.md rename to content/guides/managing-proofs-key.md diff --git a/content/guides/managing-proofs-listing.md b/content/guides/managing-proofs-listing.md new file mode 100644 index 0000000..ee0d03c --- /dev/null +++ b/content/guides/managing-proofs-listing.md @@ -0,0 +1,29 @@ +# Listing Proofs using GnuPG + +Let's list the identity proofs stored in our OpenPGP keys. + +## Listing notations in GnuPG + +First, edit the key (make sure to replace FINGERPRINT): + +`gpg --edit-key FINGERPRINT` + +List detailed preferences: + +`showpref` + +You should now see your key details, uid, and proofs assigned to your keys: + +``` +[ultimate] (1). Your Name + Cipher: AES256, AES192, AES, 3DES + Digest: SHA512, SHA384, SHA256, SHA1 + Compression: ZLIB, BZIP2, ZIP, Uncompressed + Features: MDC, Keyserver no-modify + Notations: proof@metacode.biz=https://gist.github.com/youruser/somehash + proof@metacode.biz=dns:yourdomain.org?type=TXT +``` + +Exit gpg: + +`quit` diff --git a/guides/mastodon.md b/content/guides/mastodon.md similarity index 100% rename from guides/mastodon.md rename to content/guides/mastodon.md diff --git a/guides/migrating-from-keybase.md b/content/guides/migrating-from-keybase.md similarity index 100% rename from guides/migrating-from-keybase.md rename to content/guides/migrating-from-keybase.md diff --git a/guides/openpgp-proofs.md b/content/guides/openpgp-proofs.md similarity index 100% rename from guides/openpgp-proofs.md rename to content/guides/openpgp-proofs.md diff --git a/guides/pixelfed.md b/content/guides/pixelfed.md similarity index 100% rename from guides/pixelfed.md rename to content/guides/pixelfed.md diff --git a/guides/pleroma.md b/content/guides/pleroma.md similarity index 100% rename from guides/pleroma.md rename to content/guides/pleroma.md diff --git a/guides/proofs.md b/content/guides/proofs.md similarity index 100% rename from guides/proofs.md rename to content/guides/proofs.md diff --git a/guides/reddit.md b/content/guides/reddit.md similarity index 100% rename from guides/reddit.md rename to content/guides/reddit.md diff --git a/guides/self-hosting-keyoxide.md b/content/guides/self-hosting-keyoxide.md similarity index 100% rename from guides/self-hosting-keyoxide.md rename to content/guides/self-hosting-keyoxide.md diff --git a/guides/service-provider.md b/content/guides/service-provider.md similarity index 100% rename from guides/service-provider.md rename to content/guides/service-provider.md diff --git a/guides/twitter.md b/content/guides/twitter.md similarity index 100% rename from guides/twitter.md rename to content/guides/twitter.md diff --git a/guides/verify.md b/content/guides/verify.md similarity index 100% rename from guides/verify.md rename to content/guides/verify.md diff --git a/guides/web-key-directory.md b/content/guides/web-key-directory.md similarity index 100% rename from guides/web-key-directory.md rename to content/guides/web-key-directory.md diff --git a/guides/xmpp.md b/content/guides/xmpp.md similarity index 100% rename from guides/xmpp.md rename to content/guides/xmpp.md diff --git a/routes/main.js b/routes/main.js index f9c5d15..75a01da 100644 --- a/routes/main.js +++ b/routes/main.js @@ -58,7 +58,7 @@ router.get('/guides', (req, res) => { router.get('/guides/:guideId', (req, res) => { const env = {}; - let data = fs.readFileSync(`./guides/${req.params.guideId}.md`, "utf8", (err, data) => { + let data = fs.readFileSync(`./content/guides/${req.params.guideId}.md`, "utf8", (err, data) => { if (err) throw err; return data; });