W3C home > Mailing lists > Public > public-webauthn@w3.org > October 2019

[w3c/webauthn] c7406d: Truncate strings for authenticators where needed.

From: Adam Langley <noreply@github.com>
Date: Thu, 17 Oct 2019 14:09:15 -0700
To: public-webauthn@w3.org
Message-ID: <w3c/webauthn/push/refs/heads/fignumfollowing/000000-3f1f35@github.com>
  Branch: refs/heads/fignumfollowing
  Home:   https://github.com/w3c/webauthn
  Commit: c7406dde0eacd1b8b6d2698a89dd324377f52409
      https://github.com/w3c/webauthn/commit/c7406dde0eacd1b8b6d2698a89dd324377f52409
  Author: Adam Langley <agl@imperialviolet.org>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    A images/string-truncation.svg
    M index.bs

  Log Message:
  -----------
  Truncate strings for authenticators where needed.

There exist a significant number of authenticators that do not conform
to the current WebAuthn requirements in that they fail requests with
name/displayName strings longer than 64 bytes, rather than truncating
them.

This change adds a new requirement on user-agents that they maintain the
authenticator model for RPs by doing the truncation on their behalf in
this case. The alternative is that each RP will hit this edge-case and
do the truncation itself, thus the ecosystem will never be able to
support longer strings.

Since user-agents may now be doing truncation, this change also permits
truncation at the level of grapheme clusters (since user-agents
presumably have Unicode tables available).

Fixes #1296.


  Commit: e75a6f067b25d69d8931f1a76b855685f95187ca
      https://github.com/w3c/webauthn/commit/e75a6f067b25d69d8931f1a76b855685f95187ca
  Author: Adam Langley <agl@imperialviolet.org>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M images/string-truncation.svg
    M index.bs

  Log Message:
  -----------
  Address Jeff and Emil's comments.


  Commit: 3f1f35a154d953850998ba21c5e1a0abbc96f1a8
      https://github.com/w3c/webauthn/commit/3f1f35a154d953850998ba21c5e1a0abbc96f1a8
  Author: Adam Langley <agl@imperialviolet.org>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Create a way to reference the following figure.

The fact that we have to keep the figure numbers in sync manually
annoyed me. Bikeshed isn't helping out here so I don't see a way to
avoid this for long-range links, but this change eliminates the need to
manually maintain some of the absolute numbers by providing a way to
insert the number of the following figure when the reference and figure
are close by.


Compare: https://github.com/w3c/webauthn/compare/c7406dde0eac%5E...3f1f35a154d9
Received on Thursday, 17 October 2019 21:09:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:59:07 UTC