Add test vectors from RFCs

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Read RFC 9591 section E.5 for the secp256k1 and SHA-256 test vectors, then inspect the repository’s existing test organization and Taproot style challenge hashing. Add tests that compare the implementation with the vectors and account for the stated expected discrepancies, including the degenerate case for v2; done means the tests capture which validations match or differ.

Written by the indexing model from the issue text.

Description

good first issue

The FROST RFC (https://datatracker.ietf.org/doc/rfc9591/) has test vectors that can be used to validate an implementation (section E.5. for secp256k1, SHA-256). We should add tests that see if/where we fail to validate. Since we use Taproot style challenge hashing, we know for certain that there will be discrepancies; likewise, v2 will not match unless we use a degenerate case.

Dominant language
Rust
Stars
34
Forks
19
Avg merge
9h 19m
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xoloki/wsts

All issues in xoloki/wsts

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.