-
-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicitAn area where the expected behaviour is understood, but the spec could do with being more explicit
Description
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
Labels
clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicitAn area where the expected behaviour is understood, but the spec could do with being more explicit