Closed
Description
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.