-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
24 lines (15 loc) · 736 Bytes
/
README
File metadata and controls
24 lines (15 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pgsg-node.js allows you to run PageSigner with nodejs >= v 16.5.0
Clone this repo with:
git clone --recurse-submodules https://github.com/tlsnotary/pagesigner-cli
Install dependencies by running inside the pagesigner-cli directory:
npm ci
Usage: ./pgsg-node.js <command> [arguments]
where <command> is one of notarize, verify
Examples:
./pgsg-node.js notarize example.com --headers headers.txt
Notarize example.com using HTTP headers from headers.txt
The most basic headers file can look like this:
GET /r/worldnews/ HTTP/1.1
Host: www.reddit.com
./pgsg-node.js verify imported.pgsg
Verify a Pagesigner session from imported.pgsg. This will create a session directory with the decrypted cleartext and the copy of the pgsg file.