Skip to content

docs: add ADR 017 privacy analysis - #185

Merged
thiras merged 3 commits into
mainfrom
adr/017-privacy-analysis
Apr 4, 2026
Merged

thiras merged 3 commits into
mainfrom
adr/017-privacy-analysis

Conversation

@thiras

@thiras thiras commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds ADR 017 consolidating the protocol's full privacy surface into a single reference (closes Privacy analysis across the entire protocol #45)
  • Defines a four-tier adversary model (passive observer, active participant, infrastructure operator, compromised endpoint)
  • Catalogs 21 privacy surfaces with explicit dispositions: 14 accepted, 5 mitigated pre-mainnet, 2 deferred post-mainnet
  • Prioritizes five pre-mainnet mitigations: client NodeId rotation, popular_hashes cardinality reduction (20→5), client key encryption, operational RPC guidance, and epoch key forward secrecy
  • Updates architecture.md index with ADR 017 entry

Test plan

  • Verify all cross-ADR references resolve to correct sections
  • Confirm ALPN strings, gossip topic names, and parameter values match source ADRs
  • Check architecture.md entry renders correctly in the ADR index
  • Review disposition rationale for each of the 21 surfaces

🤖 Generated with Claude Code

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]>
Copilot AI review requested due to automatic review settings April 4, 2026 16:19

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread adr/017-privacy.md Resolved
Comment thread adr/017-privacy.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md to 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.

Comment thread adr/architecture.md Resolved
Comment thread adr/017-privacy.md Resolved
Comment thread adr/017-privacy.md Resolved
thiras and others added 2 commits April 4, 2026 19:25
- 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]>
@thiras
thiras merged commit adb0a6e into main Apr 4, 2026
@thiras
thiras deleted the adr/017-privacy-analysis branch April 4, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Privacy analysis across the entire protocol

2 participants