Skip to content

Net Bus Exchange Address Bug #421

Closed
Closed
@NhoxxKienn

Description

@NhoxxKienn

Location

wire/net/account.go in NewAuthResponseMsg at line 101

Problem

Exchange Address in wire/net/bus requires a handshake protocol to validate the authenticity of the peer`s user account.

The current implementation go-perun v0.13.0 extracts the account from the fixed index of testBackendID. This will only work in a test environment and wont work with other backends.

Proposal

Adjust the implementation so that the AuthResponseMsg will extract the wire Account from a specific backend instead of hard-coding it now.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions