File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Verify Test Vectors
2+
3+ on :
4+ push :
5+ paths :
6+ - ' src/tests/spec/vectors/*.json'
7+ pull_request :
8+ paths :
9+ - ' src/tests/spec/vectors/*.json'
10+ workflow_dispatch :
11+ schedule :
12+ - cron : ' 0 0 * * 0'
13+
14+ jobs :
15+ verify-checksums :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - run : |
20+ curl -sL https://raw.githubusercontent.com/mmaker/draft-irtf-cfrg-sigma-protocols/main/poc/vectors/duplexSpongeVectors.json -o /tmp/duplexSpongeVectors.json
21+ [ "$(sha256sum src/tests/spec/vectors/duplexSpongeVectors.json | cut -d' ' -f1)" = "$(sha256sum /tmp/duplexSpongeVectors.json | cut -d' ' -f1)" ] || exit 1
22+ curl -sL https://raw.githubusercontent.com/mmaker/draft-irtf-cfrg-sigma-protocols/main/poc/vectors/testSigmaProtocols.json -o /tmp/testSigmaProtocols.json
23+ [ "$(sha256sum src/tests/spec/vectors/testSigmaProtocols.json | cut -d' ' -f1)" = "$(sha256sum /tmp/testSigmaProtocols.json | cut -d' ' -f1)" ] || exit 1
You can’t perform that action at this time.
0 commit comments