JavaScript verifier for the Decision Integrity Protocol (DIP).
This tool verifies DIP artifacts using Node.js.
- Remove signature field
- Canonicalize artifact
- Recompute artifact hash
- Verify Ed25519 signature
npm install
node verify.js artifact.json
Expected output:
Artifact verification: VALID
Artifacts generated by:
dip-cli
can be verified by:
dip-go-verifier
dip-js-verifier
Apache License 2.0