Skip to content

Query hash of CIDs to protect content privacyΒ #706

Closed
@willscott

Description

@willscott

Currently, queries are made to find providers for a cid directly. This means any participant in the DHT may learn about the request for the content, and it is trivial for someone to learn about what content is being requested by which nodes.

We can do better (referenced in recent security discussions).

  • When a client makes a query for a CID (or more generally when CIDs hit the DHT interface, they should be hashed, and queries should be made and answered for the hash of the CID rather than the CID itself.
  • The response should be encrypted using a key of the un-hashed CID.

For a node that does not already know a CID, it will not be able to decrypt the response from a query to itself learn who the providers for that CID are, or generate a list of popular CIDs directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions