mirror of
https://github.com/tlsnotary/server.git
synced 2026-01-09 11:57:54 -05:00
enforce same cwk/civ inputs for c4 and c6 catch panics and terminate session gracefully only input labels should be encrypted to disk move ghash,key_manager,metadata into a package mark with references to steps in the write-up
20 lines
812 B
Plaintext
20 lines
812 B
Plaintext
This is the notary server for the TLSNotary protocol.
|
|
|
|
It is primarily intended to be run inside a sandboxed AWS EC2 instance (https://github.com/tlsnotary/pagesigner-oracles). It can also be run as a regular server (you'll have to start it with --no-sandbox and pass the file public.key to the client).
|
|
|
|
1. Make sure nodejs is installed on the system.
|
|
|
|
2. Clone this repo with:
|
|
git clone --recurse-submodules https://github.com/tlsnotary/server
|
|
|
|
3. Compile:
|
|
cd server/src
|
|
go mod init notary
|
|
go get github.com/bwesterb/go-ristretto@b51b4774df9150ea7d7616f76e77f745a464bbe3
|
|
go get github.com/roasbeef/go-go-gadget-paillier@14f1f86b60008ece97b6233ed246373e555fc79f
|
|
go get golang.org/x/crypto/blake2b
|
|
go get golang.org/x/crypto/salsa20/salsa
|
|
go build -o notary
|
|
|
|
4. Run on a local machine with:
|
|
./notary --no-sandbox |