Skip to content
Cryptographic signatures for markdown files with OpenPGP RSA key pairs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keys
posts
.gitignore
LICENSE
README.md
README.signed.md
generate.js
package-lock.json
package.json
sign.js
verify.js

README.md

Markdown-signer-js

Signs and verifies markdown files with OpenPGP keys (https://www.openpgp.org)

Install dependencies

npm install

Generate 4096-bit OpenPGP RSA key pair

npm run generate

Sign all documents in ./posts (using auto-detect)

npm run sign

Verify all documents in ./posts (using auto-detect)

npm run verify

Sign single document (using base64-encoded Frontmatter YAML header)

node sign ./posts/post_1.md -yaml

Verify single document (using HTML comment header)

node verify ./posts/post_3_html-mode.signed.md -html
You can’t perform that action at this time.