Skip to content

Commit

Permalink
unify "header" format across spec docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Mar 10, 2025
1 parent e9f8b45 commit ed07501
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
30 changes: 20 additions & 10 deletions docs/Protocol Specifications/P2 Extensions/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@
title: polyproto-chat
---

# P2 Extension: polyproto-chat
# p2-Extension: polyproto-chat

!!! bug "TODO"
- Namespace: `chat`
- Version: `v0.1.0-alpha.1`
- API version: `v0.1.0-alpha.1`
- API documentation: [apidocs.polyproto.org](https://apidocs.polyproto.org)
- Dependencies:
- [polyproto](https://docs.polyphony.chat/Protocol%20Specifications/core/)@1.0.0-beta.1
- [mls](https://docs.polyphony.chat/Protocol%20Specifications/P2%20Extensions/mls/)@0.1.0-alpha.1

TODO: This is a work in progress. Chat-related content is currently being migrated over from the polyproto-core specification.
This document is not at all complete.
!!! warning

The polyproto-chat specification document is in an **alpha** phase. Please report any inconsistencies,
missing or duplicate information and other mistakes at [github.com/polyphony-chat/docs/issues](https://github.com/polyphony-chat/docs/issues).

[Semantic versioning v2.0.0](https://semver.org/spec/v2.0.0.html) is used to version this specification.

## 4. Federating direct/group messages

Expand Down Expand Up @@ -80,8 +90,8 @@ Alice Server
| Bob's KeyPackages | |
|<---------------------------------------------| |
| | |
| Verify Bob's KeyPackages | |
| ----------------------- | |
| Verify Bob's KeyPackages | |
| ------------------------ ||
| | | |
|<----------------------- | |
| | |
Expand Down Expand Up @@ -114,8 +124,8 @@ Alice (gatekeeper) Server
| Bob's KeyPackages | | |
|<-------------------------------------------------| | |
| | | |
| Verify Bob's KeyPackages | | |
|------------------------ | | |
| Verify Bob's KeyPackages | | |
| ------------------------ || |
| | | | |
|<----------------------- | | |
| | | |
Expand All @@ -137,8 +147,8 @@ Alice (gatekeeper) Server
| Charlie's KeyPackages | | |
|<-------------------------------------------------| | |
| | | |
| Verify Charlie's KeyPackages | | |
|---------------------------- | | |
| Verify Charlie's KeyPackages | | |
| ---------------------------- || |
| | | | |
|<--------------------------- | | |
| | | |
Expand Down
21 changes: 13 additions & 8 deletions docs/Protocol Specifications/P2 Extensions/mls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
title: polyproto-mls
---

# P2 Extension: polyproto-mls
# p2-Extension: polyproto-mls

!!! bug "TODO"
- Namespace: `mls`
- Version: `v0.1.0-alpha.1`
- API version: `v0.1.0-alpha.1`
- API documentation: [apidocs.polyproto.org](https://apidocs.polyproto.org)
- Dependencies:
- [polyproto](https://docs.polyphony.chat/Protocol%20Specifications/core/)@1.0.0-beta.1

This is a work in progress. MLS-related content is currently being migrated over from the polyproto-core specification.
This document is not yet complete.
!!! warning

The polyproto-mls specification document is in an **alpha** phase. Please report any inconsistencies,
missing or duplicate information and other mistakes at [github.com/polyphony-chat/docs/issues](https://github.com/polyphony-chat/docs/issues).

**v0.1.0-alpha.1** - Treat this as an unfinished draft.
[Semantic versioning v2.0.0](https://semver.org/spec/v2.0.0.html) is used to version this specification.
The version number specified here also applies to the API documentation.

- [P2 Extension: polyproto-mls](#p2-extension-polyproto-mls)
- [p2-Extension: polyproto-mls](#p2-extension-polyproto-mls)
- [1. Encryption](#1-encryption)
- [1.1. KeyPackages](#11-keypackages)
- [1.1.1 Last resort KeyPackages](#111-last-resort-keypackages)
Expand Down Expand Up @@ -128,7 +133,7 @@ polyproto servers and clients employing encryption must support multi-device use
assigns each device a unique `LeafNode` and prohibits key sharing across devices. Each device offers
distinct KeyPackages and an own ID-Cert.

---
---

TODO: Integrate this from the core spec

Expand Down

0 comments on commit ed07501

Please sign in to comment.