5 Commits
Author SHA1 Message Date
swaits 2f40c81c3a release 0.2.1: fast recovery from PublishFailing 2026-05-11 16:17:47 -06:00
swaits 44b455e369 release 0.2.0: iroh 1.0-rc.0 / gossip 0.99 2026-05-11 15:23:40 -06:00
swaits d0b091feb4 deps: bump hkdf 0.12→0.13 and sha2 0.10→0.11.0-rc.5
mainline 6.1.2 loosened its digest pin, unblocking hkdf 0.13 (which
needs digest 0.11). sha2 stays on the prerelease '=0.11.0-rc.5' to
match iroh-base's hard-pin; can drop the '=' once iroh-base relaxes.

HKDF-SHA256 KAT (keys_hkdf_kat_passphrase_abc_app_test_v1_k3) passes
byte-for-byte, so on-wire/on-disk key material is unchanged.

Updates the pinning rationale comment in Cargo.toml accordingly.
2026-05-10 14:16:15 -06:00
swaits 271c418397 deps: bump iroh 0.98.1→0.98.2, blake3 1.8.4→1.8.5, tokio 1.52.1→1.52.3, mainline 6.0.1→6.1.2
Cargo.lock-only. All bugfix patches plus a mainline minor:
* iroh 0.98.2: div-by-zero protection in process_datagram; don't
  abort connection attempts on concurrent empty EndpointAddr.
* blake3 1.8.5: fix LTO build on Arch Linux ARM.
* tokio 1.52.3: reverts LIFO-slot stealing perf regression from 1.51.
* mainline 6.1.2: avoid eager DNS resolution of default bootstrap
  nodes; reduce peer-discovery target_size 20→10 (MTU overflow);
  configurable bind addr; loosens its digest pin to 0.11.
2026-05-10 14:15:58 -06:00
swaitsandClaude Opus 4.7 7e39781318 Initial release: v0.1.0
Passphrase-based peer rendezvous for iroh-gossip swarms over the public
Mainline DHT. Two nodes that share a passphrase + application salt find
each other and join the same gossip topic — no bootstrap server, no
prior knowledge of peer addresses.

The algorithm is a clock-free variant of HyParView-style partition
healing on BEP 44 mutable items, with K-sharded slots, logical aging
with random-tie eviction, vouching of up to V neighbors at age 1, and
a two-layer AEAD record envelope. Full spec in PROTOCOL.md.

Ships with:

* 119 tests (unit / property / integration / doctest) all green
* 100% mutation-testing catch rate (cargo-mutants)
* cargo-fuzz harnesses for the parse surface
* Kani proofs of no-UB / no-panic on crypto::epoch_of and
  wire::decode_entries across their full symbolic input spaces
* Stateright distributed-system model: safety invariants S1 + S2
  proved exhaustively for N ≤ 6, K ≤ 3; liveness witness under weak
  fairness
* Miri green on the synchronous modules
* cargo-deny + cargo-audit clean
* criterion benches
* Full-matrix CI (Linux + macOS + Windows × stable + MSRV 1.93.0)
* Dedicated nightly lane for Miri / mutation / fuzz / Kani / Stateright

Pinned iroh 0.98.x. License MIT.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 22:52:46 -06:00