Skip to content

fix(wire/net): remove test backend signature from authMsg of exchange address protocol #422

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

Merged

Conversation

NhoxxKienn
Copy link
Contributor

This PR fix the bug #421 by removing the hard-coded test-backend signature from AuthMsg and required the user to sign all of the address map using all of there backends.

Location

wire/net package

Disclaimer

This implementation increase the number of authentication msgs by the number of backends (log(n)) and could cause performance issues with a large number of backends.

Signed-off-by: Minh Huy Tran huy@perun.network

… address protocol

Signed-off-by: Minh Huy Tran <huy@perun.network>
@NhoxxKienn NhoxxKienn requested a review from sophia1ch May 19, 2025 11:18
@NhoxxKienn NhoxxKienn force-pushed the 421_exchange_addrs_auth branch from 552c31e to 092ffbb Compare May 19, 2025 11:56
Signed-off-by: Minh Huy Tran <huy@perun.network>
Copy link
Contributor

@sophia1ch sophia1ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NhoxxKienn NhoxxKienn merged commit cccdfef into hyperledger-labs:main May 20, 2025
7 checks passed
@NhoxxKienn NhoxxKienn deleted the 421_exchange_addrs_auth branch May 20, 2025 09:26
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