Files
specs/connections/conn-upgrade.plantuml
Kevin 0c40ec8856 *: Set PlantUML background color to white (#419)
Night owls had a hard time reading the diagrams included in these specs.
A white background ensures that all text is readable in dark mode as well.
2022-05-29 16:17:52 +02:00

39 lines
831 B
Plaintext

@startuml
skinparam backgroundColor white
entity Initiator
entity Responder
== Initial multistream handshake ==
Responder -> Initiator: /multistream/1.0.0
Initiator -> Responder: /multistream/1.0.0
== Negotiate security protocol ==
Initiator -> Responder: /tls/1.0.0
note left: Initiator proposes TLS for security
Responder -> Initiator: na
note right: Responder does not support TLS yet
Initiator -> Responder: /noise
note left: Initiator falls back to Noise
Responder -> Initiator: /noise
note right: Responder supports Noise, echoes back protocol id
... Noise handshake ...
== Negotiate stream multiplexer ==
Initiator -> Responder: /mplex/1.0.0
note left: Initiator proposes mplex for stream multiplexing
Responder -> Initiator: /mplex/1.0.0
note right: Responder supports mplex, echoes back protocol id
@enduml