Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Briar Mailbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Dehm
Briar Mailbox
Wiki
introduction protocol
Changes
Page history
New page
Templates
Clone repository
goapunk created page: introduction protocol
authored
6 years ago
by
Julian Dehm
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
introduction-protocol.md
+19
-0
19 additions, 0 deletions
introduction-protocol.md
with
19 additions
and
0 deletions
introduction-protocol.md
0 → 100644
View page @
51b391c6
```
mermaid
sequenceDiagram
Alice-X+Repeater: Add contact
Repeater--X-Alice: repeater's public key, timestamp
Alice-X+Bob: repeater's public key, timestamp
Bob--X-Alice: Bob's public key, timestamp, mac
Alice-X+Repeater: Bob's public key, timestamp, mac
Repeater->>Repeater: shared secret (ECDHE)
Repeater->>Repeater: create sym. key from shared secret
Repeater->>Repeater: derive transport keys
Repeater--X-Alice: repeater's mac, contact id, transport properties
Alice-XBob: repeater's mac, transport properties
activate Bob
Bob->>Bob: shared secret (ECDHE)
Bob->>Bob: create sym. key from shared secret
Bob->>-Bob: derive transport keys
Bob-->Repeater: Secure communication
```
The asymmetric keys are newly created ephemeral keys.
\ No newline at end of file
This diff is collapsed.
Click to expand it.