Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch up to the h2c and ecvrf IETF drafts #114

Merged
merged 2 commits into from
Jul 8, 2022

Conversation

Yawning
Copy link
Contributor

@Yawning Yawning commented Jul 7, 2022

There are no functional changes in the newer versions of the h2c draft for the suites we care about.

The ECVRF IETF draft broke proof backward compatibility as of v11, and we based the implementation off v10. As there are systems in production that use the v10 style proofs, backward compatibility APIs are needed. If people blindly bump the import, they will see undesirable behavior (old proofs will fail to verify etc), but surely people don't blindly bump dependencies right?

Nothing meaningful has changed here.
Because the draft authors decided to add Y to the challenge generation
input in v11, this breaks output compatibility.  If you need the
previous semantics (for compatibility for example), use `Prove_v10`,
`Verify_v10`, `ProveWithAddedRandomness_v10`.

Note that with the v11 (and later) semantics, pi will change for a
given key + message tuple, while beta will remain unchanged, thus
there is only one `ProofToHash` routine.
@Yawning Yawning force-pushed the yawning/feature/ietf-catchup branch from 518563e to 2879729 Compare July 8, 2022 06:28
@Yawning Yawning merged commit 0a8a518 into master Jul 8, 2022
@Yawning Yawning deleted the yawning/feature/ietf-catchup branch July 8, 2022 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants