diff --git a/justfile b/justfile index 23fe302..e17f579 100644 --- a/justfile +++ b/justfile @@ -74,8 +74,16 @@ cut-version VERSION: echo "snapshot still says 'latest (main)'. Check that src/00-overview.md" >&2 echo "contains the marker line ('**Spec version:** \`latest (main)\`')." >&2 fi + # Repoint corpus links to this version's GitHub tree. The spec keeps + # CHANGELOG links pointing at main (more useful — full history) by + # only matching .../tree/main/corpus and .../blob/main/corpus. + find "versions/{{VERSION}}" -name '*.md' -exec sed -i \ + -e 's|/tree/main/corpus|/tree/{{VERSION}}/corpus|g' \ + -e 's|/blob/main/corpus|/blob/{{VERSION}}/corpus|g' \ + {} + echo "Snapshotted src/ -> versions/{{VERSION}}" echo echo "Next steps:" echo " - git add versions/{{VERSION}} && commit (e.g. \"release {{VERSION}}\")" - echo " - optionally tag the commit: git tag {{VERSION}}" + echo " - git tag {{VERSION}} # REQUIRED so the corpus links in /{{VERSION}}/" + echo " # resolve on GitHub (they point at tree/{{VERSION}}/...)" diff --git a/src/01-wire-format.md b/src/01-wire-format.md index f409c2b..6e6b5b0 100644 --- a/src/01-wire-format.md +++ b/src/01-wire-format.md @@ -131,7 +131,7 @@ A conforming decoder MUST reject packets with any of the following: - [Section 2: Header](02-header.md) — Header byte encoding details - [Section 3: Path](03-path.md) — Path length encoding and path field -- Test vectors: `corpus/wire-format/framing/`, `corpus/wire-format/invalid/` +- Test vectors: [`corpus/wire-format/framing/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/wire-format/framing/), [`corpus/wire-format/invalid/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/wire-format/invalid/) ### Reference Implementation diff --git a/src/02-header.md b/src/02-header.md index f031ff8..a05ac93 100644 --- a/src/02-header.md +++ b/src/02-header.md @@ -113,7 +113,7 @@ is an in-memory sentinel only and MUST NOT appear on the wire. A header of - [Section 1: Wire Format](01-wire-format.md) — Overall packet structure - [Section 3: Path](03-path.md) — Path encoding -- Test vectors: `corpus/wire-format/header/` +- Test vectors: [`corpus/wire-format/header/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/wire-format/header/) ### Reference Implementation diff --git a/src/03-path.md b/src/03-path.md index a8f7770..6c38f18 100644 --- a/src/03-path.md +++ b/src/03-path.md @@ -143,7 +143,7 @@ this class of bug. - [Section 1: Wire Format](01-wire-format.md) — Overall packet structure - [Section 2: Header](02-header.md) — Header encoding - [Section 15: Identity](15-identity.md) — Hash derivation from public keys -- Test vectors: `corpus/wire-format/path/` +- Test vectors: [`corpus/wire-format/path/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/wire-format/path/) ### Reference Implementation diff --git a/src/04-payload-ack.md b/src/04-payload-ack.md index bf635a4..cbbf03f 100644 --- a/src/04-payload-ack.md +++ b/src/04-payload-ack.md @@ -87,7 +87,7 @@ sender attribute each received ACK to a specific transmission attempt. See - [Section 1: Wire Format](01-wire-format.md) — Packet framing - [Section 11: Multipart](11-payload-multipart.md) — Multipart ACK encoding -- Test vectors: `corpus/payloads/ack/` +- Test vectors: [`corpus/payloads/ack/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/ack/) ### Reference Implementation diff --git a/src/05-payload-advert.md b/src/05-payload-advert.md index 21de754..ac30d27 100644 --- a/src/05-payload-advert.md +++ b/src/05-payload-advert.md @@ -115,7 +115,7 @@ preceding optional fields are present. - [Section 15: Identity](15-identity.md) — Ed25519 key management - [Section 14: Cryptography](14-crypto.md) — Signature operations -- Test vectors: `corpus/payloads/advert/` +- Test vectors: [`corpus/payloads/advert/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/advert/) ### Reference Implementation diff --git a/src/06-payload-encrypted.md b/src/06-payload-encrypted.md index a2d2b5f..ef3b4d0 100644 --- a/src/06-payload-encrypted.md +++ b/src/06-payload-encrypted.md @@ -159,7 +159,7 @@ patterns include: - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC details - [Section 15: Identity](15-identity.md) — ECDH shared secret computation -- Test vectors: `corpus/payloads/encrypted/` +- Test vectors: [`corpus/payloads/encrypted/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/encrypted/) ### Reference Implementation diff --git a/src/07-payload-anon-req.md b/src/07-payload-anon-req.md index adafc00..d331e15 100644 --- a/src/07-payload-anon-req.md +++ b/src/07-payload-anon-req.md @@ -66,7 +66,7 @@ Header payload type field: `0x07` (ANON_REQ) - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Standard encrypted format - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC - [Section 15: Identity](15-identity.md) — ECDH key exchange -- Test vectors: `corpus/payloads/anon-req/` +- Test vectors: [`corpus/payloads/anon-req/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/anon-req/) ### Reference Implementation diff --git a/src/08-payload-group.md b/src/08-payload-group.md index 184d911..b348dcf 100644 --- a/src/08-payload-group.md +++ b/src/08-payload-group.md @@ -72,7 +72,7 @@ secret. Only a successful MAC verification confirms the correct channel. ### Cross-References - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC -- Test vectors: `corpus/payloads/group/` +- Test vectors: [`corpus/payloads/group/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/group/) ### Reference Implementation diff --git a/src/09-payload-path.md b/src/09-payload-path.md index f7cb20d..ce463ca 100644 --- a/src/09-payload-path.md +++ b/src/09-payload-path.md @@ -82,7 +82,7 @@ hash is unique. - [Section 3: Path](03-path.md) — Path length encoding - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Outer envelope format - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC -- Test vectors: `corpus/payloads/path-return/` +- Test vectors: [`corpus/payloads/path-return/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/path-return/) ### Reference Implementation diff --git a/src/10-payload-trace.md b/src/10-payload-trace.md index ef99943..34d21cf 100644 --- a/src/10-payload-trace.md +++ b/src/10-payload-trace.md @@ -97,7 +97,7 @@ At that point, `onTraceRecv` is called with: ### Cross-References - [Section 16: Packet Hash](16-packet-hash.md) — TRACE packets include path_len in hash -- Test vectors: `corpus/payloads/trace/` +- Test vectors: [`corpus/payloads/trace/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/trace/) ### Reference Implementation diff --git a/src/11-payload-multipart.md b/src/11-payload-multipart.md index 967db5a..dce90f7 100644 --- a/src/11-payload-multipart.md +++ b/src/11-payload-multipart.md @@ -112,7 +112,7 @@ intends to emit, not a guarantee that they will arrive. ### Cross-References - [Section 4: ACK](04-payload-ack.md) — ACK CRC format -- Test vectors: `corpus/payloads/multipart/` +- Test vectors: [`corpus/payloads/multipart/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/multipart/) ### Reference Implementation diff --git a/src/12-payload-control.md b/src/12-payload-control.md index 5d4f7f5..a361bdf 100644 --- a/src/12-payload-control.md +++ b/src/12-payload-control.md @@ -60,7 +60,7 @@ formats are application-defined, but typically include: ### Cross-References - [Section 17: Routing](17-routing.md) — Zero-hop delivery -- Test vectors: `corpus/payloads/control/` +- Test vectors: [`corpus/payloads/control/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/control/) ### Reference Implementation diff --git a/src/13-payload-raw-custom.md b/src/13-payload-raw-custom.md index 8b47f6e..fc4fd1f 100644 --- a/src/13-payload-raw-custom.md +++ b/src/13-payload-raw-custom.md @@ -41,7 +41,7 @@ when received via direct routing. They are NOT flood-routed. ### Cross-References -- Test vectors: `corpus/payloads/raw-custom/` +- Test vectors: [`corpus/payloads/raw-custom/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/payloads/raw-custom/) ### Reference Implementation diff --git a/src/14-crypto.md b/src/14-crypto.md index 09db99f..5c77ac7 100644 --- a/src/14-crypto.md +++ b/src/14-crypto.md @@ -110,7 +110,7 @@ Output format: - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Usage in packet payloads - [Section 15: Identity](15-identity.md) — Shared secret computation via ECDH -- Test vectors: `corpus/crypto/` +- Test vectors: [`corpus/crypto/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/crypto/) ### Reference Implementation diff --git a/src/15-identity.md b/src/15-identity.md index e62491d..c6eb01c 100644 --- a/src/15-identity.md +++ b/src/15-identity.md @@ -81,7 +81,7 @@ Hex representation uses uppercase characters with 2 hex digits per byte. - [Section 3: Path](03-path.md) — Hash size in path encoding - [Section 5: Advertisement](05-payload-advert.md) — Signature usage - [Section 14: Cryptography](14-crypto.md) — Shared secret usage -- Test vectors: `corpus/crypto/ed25519/`, `corpus/crypto/ecdh/` +- Test vectors: [`corpus/crypto/ed25519/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/crypto/ed25519/), [`corpus/crypto/ecdh/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/crypto/ecdh/) ### Reference Implementation diff --git a/src/16-packet-hash.md b/src/16-packet-hash.md index 3660fe7..bfe52da 100644 --- a/src/16-packet-hash.md +++ b/src/16-packet-hash.md @@ -59,7 +59,7 @@ function calculatePacketHash(packet): ### Cross-References - [Section 10: Trace](10-payload-trace.md) — TRACE packet special handling -- Test vectors: `corpus/crypto/sha256/packet-hash.json` +- Test vectors: [`corpus/crypto/sha256/packet-hash.json`](https://github.com/swaits/meshcore-spec/blob/main/corpus/crypto/sha256/packet-hash.json) ### Reference Implementation diff --git a/src/18-companion-protocol.md b/src/18-companion-protocol.md index 0e3612a..ec55ab3 100644 --- a/src/18-companion-protocol.md +++ b/src/18-companion-protocol.md @@ -89,7 +89,7 @@ implementations SHOULD request a larger MTU (up to 512 bytes). ### Cross-References - [Section 1: Wire Format](01-wire-format.md) — Underlying packet format -- Test vectors: `corpus/companion/` +- Test vectors: [`corpus/companion/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/companion/) ### Reference Implementation diff --git a/src/19-kiss-protocol.md b/src/19-kiss-protocol.md index b3e54a6..95fe6b0 100644 --- a/src/19-kiss-protocol.md +++ b/src/19-kiss-protocol.md @@ -173,7 +173,7 @@ Response codes: `response = command | 0x80` - [Section 1: Wire Format](01-wire-format.md) — Packet format within data frames - [Section 14: Cryptography](14-crypto.md) — Crypto operations via SetHardware -- Test vectors: `corpus/kiss/` +- Test vectors: [`corpus/kiss/`](https://github.com/swaits/meshcore-spec/tree/main/corpus/kiss/) ### Reference Implementation diff --git a/versions/v0.1.0/00-overview.md b/versions/v0.1.0/00-overview.md index efeb696..b1db977 100644 --- a/versions/v0.1.0/00-overview.md +++ b/versions/v0.1.0/00-overview.md @@ -31,7 +31,7 @@ DongLoRa firmware and apps against live MeshCore deployments. Where DongLoRa behavior diverges from upstream, this spec follows upstream and treats the DongLoRa side as a follow-up bug, not a spec change. -Conformance against the [test corpus](https://github.com/swaits/meshcore-spec/tree/main/corpus) +Conformance against the [test corpus](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus) is a useful signal but **not a substitute** for cross-checking against upstream firmware. If you find a divergence from upstream, please [file an issue](https://github.com/swaits/meshcore-spec/issues) — that is diff --git a/versions/v0.1.0/01-wire-format.md b/versions/v0.1.0/01-wire-format.md index f409c2b..9f9f8af 100644 --- a/versions/v0.1.0/01-wire-format.md +++ b/versions/v0.1.0/01-wire-format.md @@ -131,7 +131,7 @@ A conforming decoder MUST reject packets with any of the following: - [Section 2: Header](02-header.md) — Header byte encoding details - [Section 3: Path](03-path.md) — Path length encoding and path field -- Test vectors: `corpus/wire-format/framing/`, `corpus/wire-format/invalid/` +- Test vectors: [`corpus/wire-format/framing/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/wire-format/framing/), [`corpus/wire-format/invalid/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/wire-format/invalid/) ### Reference Implementation diff --git a/versions/v0.1.0/02-header.md b/versions/v0.1.0/02-header.md index f031ff8..7d8cc50 100644 --- a/versions/v0.1.0/02-header.md +++ b/versions/v0.1.0/02-header.md @@ -113,7 +113,7 @@ is an in-memory sentinel only and MUST NOT appear on the wire. A header of - [Section 1: Wire Format](01-wire-format.md) — Overall packet structure - [Section 3: Path](03-path.md) — Path encoding -- Test vectors: `corpus/wire-format/header/` +- Test vectors: [`corpus/wire-format/header/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/wire-format/header/) ### Reference Implementation diff --git a/versions/v0.1.0/03-path.md b/versions/v0.1.0/03-path.md index a8f7770..a73610a 100644 --- a/versions/v0.1.0/03-path.md +++ b/versions/v0.1.0/03-path.md @@ -143,7 +143,7 @@ this class of bug. - [Section 1: Wire Format](01-wire-format.md) — Overall packet structure - [Section 2: Header](02-header.md) — Header encoding - [Section 15: Identity](15-identity.md) — Hash derivation from public keys -- Test vectors: `corpus/wire-format/path/` +- Test vectors: [`corpus/wire-format/path/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/wire-format/path/) ### Reference Implementation diff --git a/versions/v0.1.0/04-payload-ack.md b/versions/v0.1.0/04-payload-ack.md index bf635a4..679aaeb 100644 --- a/versions/v0.1.0/04-payload-ack.md +++ b/versions/v0.1.0/04-payload-ack.md @@ -87,7 +87,7 @@ sender attribute each received ACK to a specific transmission attempt. See - [Section 1: Wire Format](01-wire-format.md) — Packet framing - [Section 11: Multipart](11-payload-multipart.md) — Multipart ACK encoding -- Test vectors: `corpus/payloads/ack/` +- Test vectors: [`corpus/payloads/ack/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/ack/) ### Reference Implementation diff --git a/versions/v0.1.0/05-payload-advert.md b/versions/v0.1.0/05-payload-advert.md index 21de754..f070a6b 100644 --- a/versions/v0.1.0/05-payload-advert.md +++ b/versions/v0.1.0/05-payload-advert.md @@ -115,7 +115,7 @@ preceding optional fields are present. - [Section 15: Identity](15-identity.md) — Ed25519 key management - [Section 14: Cryptography](14-crypto.md) — Signature operations -- Test vectors: `corpus/payloads/advert/` +- Test vectors: [`corpus/payloads/advert/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/advert/) ### Reference Implementation diff --git a/versions/v0.1.0/06-payload-encrypted.md b/versions/v0.1.0/06-payload-encrypted.md index a2d2b5f..28cb216 100644 --- a/versions/v0.1.0/06-payload-encrypted.md +++ b/versions/v0.1.0/06-payload-encrypted.md @@ -159,7 +159,7 @@ patterns include: - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC details - [Section 15: Identity](15-identity.md) — ECDH shared secret computation -- Test vectors: `corpus/payloads/encrypted/` +- Test vectors: [`corpus/payloads/encrypted/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/encrypted/) ### Reference Implementation diff --git a/versions/v0.1.0/07-payload-anon-req.md b/versions/v0.1.0/07-payload-anon-req.md index adafc00..bb2b7d4 100644 --- a/versions/v0.1.0/07-payload-anon-req.md +++ b/versions/v0.1.0/07-payload-anon-req.md @@ -66,7 +66,7 @@ Header payload type field: `0x07` (ANON_REQ) - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Standard encrypted format - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC - [Section 15: Identity](15-identity.md) — ECDH key exchange -- Test vectors: `corpus/payloads/anon-req/` +- Test vectors: [`corpus/payloads/anon-req/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/anon-req/) ### Reference Implementation diff --git a/versions/v0.1.0/08-payload-group.md b/versions/v0.1.0/08-payload-group.md index 184d911..e7d4899 100644 --- a/versions/v0.1.0/08-payload-group.md +++ b/versions/v0.1.0/08-payload-group.md @@ -72,7 +72,7 @@ secret. Only a successful MAC verification confirms the correct channel. ### Cross-References - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC -- Test vectors: `corpus/payloads/group/` +- Test vectors: [`corpus/payloads/group/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/group/) ### Reference Implementation diff --git a/versions/v0.1.0/09-payload-path.md b/versions/v0.1.0/09-payload-path.md index f7cb20d..7b0fef2 100644 --- a/versions/v0.1.0/09-payload-path.md +++ b/versions/v0.1.0/09-payload-path.md @@ -82,7 +82,7 @@ hash is unique. - [Section 3: Path](03-path.md) — Path length encoding - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Outer envelope format - [Section 14: Cryptography](14-crypto.md) — Encrypt-then-MAC -- Test vectors: `corpus/payloads/path-return/` +- Test vectors: [`corpus/payloads/path-return/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/path-return/) ### Reference Implementation diff --git a/versions/v0.1.0/10-payload-trace.md b/versions/v0.1.0/10-payload-trace.md index ef99943..939db61 100644 --- a/versions/v0.1.0/10-payload-trace.md +++ b/versions/v0.1.0/10-payload-trace.md @@ -97,7 +97,7 @@ At that point, `onTraceRecv` is called with: ### Cross-References - [Section 16: Packet Hash](16-packet-hash.md) — TRACE packets include path_len in hash -- Test vectors: `corpus/payloads/trace/` +- Test vectors: [`corpus/payloads/trace/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/trace/) ### Reference Implementation diff --git a/versions/v0.1.0/11-payload-multipart.md b/versions/v0.1.0/11-payload-multipart.md index 967db5a..d5bd4ab 100644 --- a/versions/v0.1.0/11-payload-multipart.md +++ b/versions/v0.1.0/11-payload-multipart.md @@ -112,7 +112,7 @@ intends to emit, not a guarantee that they will arrive. ### Cross-References - [Section 4: ACK](04-payload-ack.md) — ACK CRC format -- Test vectors: `corpus/payloads/multipart/` +- Test vectors: [`corpus/payloads/multipart/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/multipart/) ### Reference Implementation diff --git a/versions/v0.1.0/12-payload-control.md b/versions/v0.1.0/12-payload-control.md index 5d4f7f5..5fb564e 100644 --- a/versions/v0.1.0/12-payload-control.md +++ b/versions/v0.1.0/12-payload-control.md @@ -60,7 +60,7 @@ formats are application-defined, but typically include: ### Cross-References - [Section 17: Routing](17-routing.md) — Zero-hop delivery -- Test vectors: `corpus/payloads/control/` +- Test vectors: [`corpus/payloads/control/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/control/) ### Reference Implementation diff --git a/versions/v0.1.0/13-payload-raw-custom.md b/versions/v0.1.0/13-payload-raw-custom.md index 8b47f6e..1e796e7 100644 --- a/versions/v0.1.0/13-payload-raw-custom.md +++ b/versions/v0.1.0/13-payload-raw-custom.md @@ -41,7 +41,7 @@ when received via direct routing. They are NOT flood-routed. ### Cross-References -- Test vectors: `corpus/payloads/raw-custom/` +- Test vectors: [`corpus/payloads/raw-custom/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/payloads/raw-custom/) ### Reference Implementation diff --git a/versions/v0.1.0/14-crypto.md b/versions/v0.1.0/14-crypto.md index 09db99f..1fec74a 100644 --- a/versions/v0.1.0/14-crypto.md +++ b/versions/v0.1.0/14-crypto.md @@ -110,7 +110,7 @@ Output format: - [Section 6: Encrypted Payloads](06-payload-encrypted.md) — Usage in packet payloads - [Section 15: Identity](15-identity.md) — Shared secret computation via ECDH -- Test vectors: `corpus/crypto/` +- Test vectors: [`corpus/crypto/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/crypto/) ### Reference Implementation diff --git a/versions/v0.1.0/15-identity.md b/versions/v0.1.0/15-identity.md index e62491d..d38c3d5 100644 --- a/versions/v0.1.0/15-identity.md +++ b/versions/v0.1.0/15-identity.md @@ -81,7 +81,7 @@ Hex representation uses uppercase characters with 2 hex digits per byte. - [Section 3: Path](03-path.md) — Hash size in path encoding - [Section 5: Advertisement](05-payload-advert.md) — Signature usage - [Section 14: Cryptography](14-crypto.md) — Shared secret usage -- Test vectors: `corpus/crypto/ed25519/`, `corpus/crypto/ecdh/` +- Test vectors: [`corpus/crypto/ed25519/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/crypto/ed25519/), [`corpus/crypto/ecdh/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/crypto/ecdh/) ### Reference Implementation diff --git a/versions/v0.1.0/16-packet-hash.md b/versions/v0.1.0/16-packet-hash.md index 3660fe7..fd205d6 100644 --- a/versions/v0.1.0/16-packet-hash.md +++ b/versions/v0.1.0/16-packet-hash.md @@ -59,7 +59,7 @@ function calculatePacketHash(packet): ### Cross-References - [Section 10: Trace](10-payload-trace.md) — TRACE packet special handling -- Test vectors: `corpus/crypto/sha256/packet-hash.json` +- Test vectors: [`corpus/crypto/sha256/packet-hash.json`](https://github.com/swaits/meshcore-spec/blob/v0.1.0/corpus/crypto/sha256/packet-hash.json) ### Reference Implementation diff --git a/versions/v0.1.0/18-companion-protocol.md b/versions/v0.1.0/18-companion-protocol.md index 0e3612a..09582f2 100644 --- a/versions/v0.1.0/18-companion-protocol.md +++ b/versions/v0.1.0/18-companion-protocol.md @@ -89,7 +89,7 @@ implementations SHOULD request a larger MTU (up to 512 bytes). ### Cross-References - [Section 1: Wire Format](01-wire-format.md) — Underlying packet format -- Test vectors: `corpus/companion/` +- Test vectors: [`corpus/companion/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/companion/) ### Reference Implementation diff --git a/versions/v0.1.0/19-kiss-protocol.md b/versions/v0.1.0/19-kiss-protocol.md index b3e54a6..95032ad 100644 --- a/versions/v0.1.0/19-kiss-protocol.md +++ b/versions/v0.1.0/19-kiss-protocol.md @@ -173,7 +173,7 @@ Response codes: `response = command | 0x80` - [Section 1: Wire Format](01-wire-format.md) — Packet format within data frames - [Section 14: Cryptography](14-crypto.md) — Crypto operations via SetHardware -- Test vectors: `corpus/kiss/` +- Test vectors: [`corpus/kiss/`](https://github.com/swaits/meshcore-spec/tree/v0.1.0/corpus/kiss/) ### Reference Implementation