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

Tweak validation of pre-authorized GetOwnershipProof #2122

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

andrewkozlik
Copy link
Contributor

Implements #1160 (comment).

This PR modifies the validation rules for pre-authorized GetOwnershipProof messages. Trezor will only check that commitment data starts with a length-prefixed name of the CoinJoin coordinator. The name can be followed by any other challenge that the coordinator chooses, typically a 32-byte round ID.

In pre-authorized GetOwnershipProof requests ensure that the commitment data
starts with a length-prefixed name of the CoinJoin coordinator.

[no changelog]
@andrewkozlik andrewkozlik removed the request for review from matejcik February 11, 2022 11:53
@andrewkozlik andrewkozlik merged commit 473657f into master Feb 11, 2022
@andrewkozlik andrewkozlik deleted the andrewkozlik/coinjoin-ownership branch February 11, 2022 12:56
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.

3 participants