Skip to content

RFC: Contacts API #484

Description

@filvecchiato

Source PR: #17 · docs/rfcs/0014-contacts-api.md · @filvecchiato

Description

Products read the host's address book through host_contacts_get and host_contacts_subscribe, each contact carrying local metadata plus per-context identifiers. A product sees its own context only by default.

Motivation

Aliases differ per product context, so the address book is the user's private map of who is who — and products cannot see it, leaving users to paste raw keys or scan a QR code for every interaction.

Requirements

  • Tier 1 returns only the calling product's context; tier 2 returns every context behind ContactsCrossContext.
  • DevicePermission gains Contacts and ContactsCrossContext.
  • Both methods require authentication and prompt before returning.
  • Only contacts the user saved are returned; this is not a name-resolution service.

Tasks

  • RFC document body
  • Implementation — rust-core
  • Implementation — hosts
    • dotli
    • Desktop
    • iOS
    • Android
    • host-cli

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions