wire-core: publish the shipped API in Handshakes, log the lane, tick TODO §1
This commit is contained in:
1 parent
76fd4366d2
commit
8a59685dbf
2 files changed
+192
-35
No files matched your search
@@ -18,21 +18,21 @@ ones in §Out of scope.
|
||||
|
||||
## 1. wire-core (core) — `Sources/MWBCore/Packet.swift`, `Framing.swift`, `MagicHash.swift`, `CipherStream.swift`
|
||||
|
||||
- [ ] `PackageType` (raw `UInt8`, every value §1.2), big/small rule §1.1,
|
||||
- [x] `PackageType` (raw `UInt8`, every value §1.2), big/small rule §1.1,
|
||||
unknown values tolerated.
|
||||
- [ ] `Packet` over a 32/64-byte little-endian buffer with union views:
|
||||
- [x] `Packet` over a 32/64-byte little-endian buffer with union views:
|
||||
mouse, keyboard, nonce, postAction, machineName, 48-byte clipboard
|
||||
payload at offset 16.
|
||||
- [ ] ASCII space-padded 32-byte machine name; non-ASCII refused.
|
||||
- [ ] `Framing.seal` / `open` exactly §1.3 (checksum bytes 2..31, magic
|
||||
- [x] ASCII space-padded 32-byte machine name; non-ASCII refused.
|
||||
- [x] `Framing.seal` / `open` exactly §1.3 (checksum bytes 2..31, magic
|
||||
top 16 bits, bytes 1–3 zeroed on open).
|
||||
- [ ] `magicNumber(for:)` §2.1 (50 001 SHA-512 rounds, `<< 23` overlap,
|
||||
- [x] `magicNumber(for:)` §2.1 (50 001 SHA-512 rounds, `<< 23` overlap,
|
||||
UTF-16 unit truncated to a byte, 32-byte buffer).
|
||||
- [ ] PBKDF2-HMAC-SHA512 100 000 rounds / 32 bytes via CommonCrypto;
|
||||
- [x] PBKDF2-HMAC-SHA512 100 000 rounds / 32 bytes via CommonCrypto;
|
||||
`CipherWriter` / `CipherReader` with 16+16 header, sacrificial
|
||||
block, streaming AES-256-CBC no padding §2.3. No secrets in
|
||||
descriptions or logs.
|
||||
- [ ] Key rules §2.4: 16-char minimum, generator with the four charsets,
|
||||
- [x] Key rules §2.4: 16-char minimum, generator with the four charsets,
|
||||
display grouping.
|
||||
|
||||
## 2. session-matrix (core) — `Sources/MWBCore/Session.swift`, `Matrix.swift`, `MachinePool.swift`, `Edge.swift`, `Coordinates.swift`
|
||||
|
||||
Reference in new issue
Block a user