Repository navigation
docs: add ADR 017 privacy analysis - #185
Conversation
Consolidate privacy properties scattered across ADRs 001, 003, 005, 006, 007, 008, and 012 into a unified reference with a four-tier adversary model, 21 cataloged privacy surfaces, explicit dispositions, and a prioritized pre-mainnet mitigation roadmap. Closes #45 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request introduces ADR 017, which provides a comprehensive privacy analysis of the protocol. It establishes a four-tier adversary model and catalogs 21 distinct privacy surfaces, assigning each a disposition of accept, mitigate, or defer. The ADR also outlines a prioritized roadmap for pre-mainnet mitigations, including client NodeId rotation and reducing the cardinality of popular hash gossip. Feedback was provided to remove overly prescriptive implementation details regarding key generation and to explicitly state that the ALPN remains unchanged despite minor protocol evolutions.
There was a problem hiding this comment.
Pull request overview
Adds a new Architecture Decision Record (ADR 017) to consolidate the protocol’s privacy posture into a single reference, and links it from the ADR index.
Changes:
- Adds ADR 017 documenting an adversary model, a privacy surface inventory, and a mitigation roadmap.
- Updates
adr/architecture.mdto include ADR 017 in the ADR index.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| adr/architecture.md | Adds an index entry for ADR 017 with a detailed synopsis of the privacy analysis and roadmap. |
| adr/017-privacy.md | Introduces ADR 017 (privacy analysis) including tiered adversary model, 21-surface catalog, and mitigation prioritization. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Add ADR 002 to Context section's cross-reference list - Remove iroh::SecretKey::generate() implementation detail from §5.1 - Fix §5.5 milestone inconsistency (now says pre-mainnet, matching §4/§6) - Fix architecture.md disposition wording (accept or mitigate, not defer) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Add "default" qualifier to NodeAnnounce interval (60s) and prefetch threshold (3+ peers) to match ADR 001's language that both are per-node configurable parameters. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Summary
popular_hashescardinality reduction (20→5), client key encryption, operational RPC guidance, and epoch key forward secrecyarchitecture.mdindex with ADR 017 entryTest plan
architecture.mdentry renders correctly in the ADR index🤖 Generated with Claude Code