forked from Mirrors/keyoxide-web
Move guides to different folder
This commit is contained in:
parent
4ee2581c83
commit
72f3579842
28 changed files with 30 additions and 1 deletions
29
content/guides/managing-proofs-listing.md
Normal file
29
content/guides/managing-proofs-listing.md
Normal 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`
|
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue