Skip to content

Document grammar for device IDs #290

@jimmycuadra

Description

@jimmycuadra

The spec is currently missing any definition of the grammar for a device ID. While it is implied that they should just be a random string of characters, at least the following should be explicit:

  • Minimum and maximum character (or byte) lengths
  • Allowed and disallowed characters
  • Any expected patterns, such as starting with a letter followed by N digits

There needs to be some UX consideration beyond considering them opaque byte sequences, since they are displayed visually to users in some cases.

Though not specific to the grammar of the ID, the spec should also address what the scope of uniqueness is for device IDs. Do they need to be universally unique? Or only unique to the user the device belongs to? Or unique to the user's homeserver?

This may be considered part of #174.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions