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; });