Skip to content

Server only capable to have 1 secret for all hosts #19

@MikhailMS

Description

@MikhailMS

Right now server (struct Server) has a vector of hosts from where it would accept incoming requests
At the same time this setting could be all together ignored by users of the library, when they implement Server

But if users decide to use allowed_host functionality they may experience the following:

When one calls create_reply_authenticator on struct Server if uses server.secret, which I assume to be the same across all hosts, which may connect to the server
Not sure if that's always the case, but if not - then correct reply authenticator won't be created if host secret doesn't match server's secret

That would should be fixed at some point, if there is an ask

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions