Skip to content

Detect shared secret key usageΒ #3813

@flub

Description

@flub

Sometimes users create multiple endpoints with the same secret key due to misunderstandings. To help them catch mistakes we might be able to help recognise this situation:

The connection to the relay server will exhibit a particular disconnection/reconnection pattern. It might be possible to recognise this pattern and log a warning or info message with a hint of what might be going on.

Additionally if the same secret key is used in another endpoint in the same process it could be possible to error when creating the 2nd endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c-irohFunctionality of the core iroh crate.relayiroh's relay transport and subsystem.

    Projects

    Status

    πŸ‘ Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions