Skip to content

Matrix >= v1.0.0 limits display name field to 100 chars #4634

Closed

Description

@ulope

Sub issue of: #3387

Problem Definition

synapse >= v1.0.0 introduced (matrix-org/synapse@d16c637) a length limit on the User displayname field of 100 characters.

This breaks our use of this field as a way to publish hex encoded ecrecover signatures since those need 132 characters.

Possible solutions

  1. Get Matrix to change the limit: New 100 char display name length limit is too restrictive matrix-org/synapse#5870
  2. Switch to base64 encoding (which would fit at 89 chars for a signature)
  3. Switch to use avatar_url field which has a limit of 1000 chars

All but 1. would be backwards incompatible (which currently should be doable) and would need coordination with the light client (ping @andrevmatos).

Activity

  1. changed the title [-]Matrix >= 1.3 limits display name field to 100 chars[/-] [+]Matrix >= 1.2.1 limits display name field to 100 chars[/+] on Aug 19, 2019
  2. added a commit that references this issue on Aug 19, 2019
  3. ulope commented on Aug 28, 2019

    @ulope
    CollaboratorAuthor

    Good news, the Matrix team increased the length limit to 256 chars: matrix-org/synapse#5906!

    Now we only need to wait for them to make a new release. I asked in the linked issue if there's an ETA for that.

  4. changed the title [-]Matrix >= 1.2.1 limits display name field to 100 chars[/-] [+]Matrix >= v0.99.5.2 limits display name field to 100 chars[/+] on Sep 23, 2019
  5. changed the title [-]Matrix >= v0.99.5.2 limits display name field to 100 chars[/-] [+]Matrix >= v1.0.0 limits display name field to 100 chars[/+] on Sep 23, 2019
  6. added a commit that references this issue on Oct 1, 2019
  7. ulope commented on Oct 1, 2019

    @ulope
    CollaboratorAuthor

    We upgraded to synapse 1.4.0rc1 for now.

    Once 1.4.0 is released we can switch to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions