Skip to content

proposal: crypto/tls: add RemoteAddr to ConnectionState struct #64782

@shlomor25

Description

@shlomor25

Proposal Details

In certain cases it might be usefuy to have the remote address on the connection state.

For example, I want to validate during handhsake process (VerifyConnection callback) that the peer certificate was issued with the remote address.

type ConnectionState struct {
	...
        RemoteAddr Addr
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProposalProposal-CryptoProposal related to crypto packages or other security issues

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions