Move guides to different folder

This commit is contained in:
Yarmo Mackenbach 2020-08-28 01:35:48 +02:00
parent 4ee2581c83
commit 72f3579842
28 changed files with 30 additions and 1 deletions

View file

@ -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 <your@email>
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</your@email>
```
Exit gpg:
`quit`

View file

@ -58,7 +58,7 @@ router.get('/guides', (req, res) => {
router.get('/guides/:guideId', (req, res) => { router.get('/guides/:guideId', (req, res) => {
const env = {}; 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; if (err) throw err;
return data; return data;
}); });