feat(peer)!: cut over to authenticated catalog sharing
Replace address-only trust and pushed peer state with installation identities, SPKI-pinned QUIC, candidate-only discovery, and bounded responder-owned protocol-8 pulls. The runtime now owns each network generation and all admitted work through shutdown. Add exact bundled content identities, reproducible manifest publishing, capability-confined downloads, streaming BLAKE3 verification, quarantine and retry, and crash-recoverable download and install transactions. Ship generated fixture catalogs and fail closed when production manifests are absent. The Tauri backend exposes durable sharing policy, redacted identity state, and attempt-keyed transfer snapshots. Frontend consumption follows in the next commit. Repository-wide test certificates and protocol-7 paths are removed. BREAKING CHANGE: peers must use protocol 8 and exact catalog content artifacts; protocol-7 frames and shared-certificate identities are no longer accepted. Test Plan: - `just test` -- passed on the completed stack (708 workspace tests) - `just clippy` -- passed on the completed stack - `just build` -- passed with fixture catalogs on the completed stack - `just catalog-check-production` -- failed closed because the external production manifest corpus is absent - `git diff --cached --check` -- passed
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"game_id": "ggoo",
|
||||
"game_version": "20200721",
|
||||
"chunk_size": 134217728,
|
||||
"files": [
|
||||
{
|
||||
"canonical_path": "ggoo.eti",
|
||||
"kind": "file",
|
||||
"size": 3146110,
|
||||
"file_blake3": "ca521fcb90514c2d4c6d33fe79d1252066547f5f83f5a98bf92d93e473fbebe4",
|
||||
"chunk_blake3": [
|
||||
"ca521fcb90514c2d4c6d33fe79d1252066547f5f83f5a98bf92d93e473fbebe4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"canonical_path": "version.ini",
|
||||
"kind": "file",
|
||||
"size": 8,
|
||||
"file_blake3": "a5354e30ec514c1a2b1d7db06e88345a861b5cd90dc7f287a44c917612f851aa",
|
||||
"chunk_blake3": [
|
||||
"a5354e30ec514c1a2b1d7db06e88345a861b5cd90dc7f287a44c917612f851aa"
|
||||
]
|
||||
}
|
||||
],
|
||||
"streamed_install_files": [
|
||||
{
|
||||
"canonical_path": "bin",
|
||||
"kind": "directory",
|
||||
"size": 0,
|
||||
"file_blake3": null
|
||||
},
|
||||
{
|
||||
"canonical_path": "bin/ggoo-payload.bin",
|
||||
"kind": "file",
|
||||
"size": 2097152,
|
||||
"file_blake3": "0c793d5caa4d76d70ae2251950b74c89fe8d795d9467f8d00a115b254a5483ad"
|
||||
},
|
||||
{
|
||||
"canonical_path": "data",
|
||||
"kind": "directory",
|
||||
"size": 0,
|
||||
"file_blake3": null
|
||||
},
|
||||
{
|
||||
"canonical_path": "data/ggoo-assets.dat",
|
||||
"kind": "file",
|
||||
"size": 1048576,
|
||||
"file_blake3": "e0177aff792b3796037edddd40e4cf834448f638f24225fc891c645619004b35"
|
||||
}
|
||||
],
|
||||
"content_id": "30a6358eff3b0ed6d797aee10766ca69741eb1198f83d341d0876b5ce1009ae0"
|
||||
}
|
||||
Reference in New Issue
Block a user