Skip to content

Assert DirectE2EE mode on Connect and Bind #978

Description

@andrewpmartinez

Assert the DirectE2EE mode on Connect and Bind and echo the agreed mode on the responses, because the legacy-versus-DirectE2EE decision has to be made before any TLS exists.

  • Send DirectE2EEMode on Connect and Bind, independent of whether a libsodium public key is present
  • Read the agreed mode from StateConnected and BindSuccess
  • Fall back to legacy under permissive when the peer asserts no mode
  • Reject and surface E2eeNoCommonMode when no mode is shared
  • Map a legacy peer rejection of a missing public key onto E2eeNoCommonMode

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2eeDirectE2EE (TLS 1.3 end-to-end encryption)goPull requests that update Go code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions