webext-signed-pages
webext-signed-pages copied to clipboard
Signing does not work
To reproduce:
test.html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
- Download repo
- Run: npm install
- Run: /page-signer.js test.html
- output.html is identical to test.html without any signature
It doesn't work because you've missed example.html mentioned in README.md, you're missing a block:
after doctype. Another problem you might encounter later is missing PGP keys in your system, example how to create them: gpg --full-generate-key