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

docs: add range proof verification warnings #5412

Conversation

AaronFeickert
Copy link
Collaborator

Description

Adds warning comments about revealed-value range proof verification to help guard against misuse.

Motivation and Context

As noted in a comment on #5372, verification of a revealed-value range proof requires separate verification of the corresponding metadata signature. Without such a check, range proof verification is inconclusive.

Because this is a major but subtle change to the guarantees provided by the single and batch range proof verification functions, this PR adds scary warning comments .

How Has This Been Tested?

The comments look sufficiently frightening.

What process can a PR reviewer use to test or verify this change?

Ensure that there are no code paths that assume revealed-value range proof validity without metadata signature verification.

@AaronFeickert
Copy link
Collaborator Author

This is superseded by #5411, which adds an internal signature check to range proof verification just to be safe.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels May 25, 2023
@AaronFeickert AaronFeickert deleted the range-proof-warning branch May 25, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants