Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitations for showing transaction data #269

Open
kseybold opened this issue Apr 9, 2024 · 5 comments
Open

Limitations for showing transaction data #269

kseybold opened this issue Apr 9, 2024 · 5 comments
Assignees

Comments

@kseybold
Copy link

kseybold commented Apr 9, 2024

In the SPC spec I can't find any limitations for the displayName field.
If it is already defined , where is it defined?
If not, maybe it should be defined...

Regarding the current implementation in Chromium:

Whats the max length?
Can the displayName be multiline?

@rsolomakhin
Copy link
Collaborator

@stephenmcgruer
Copy link
Collaborator

We don't currently have limits set on PaymentInstrument.displayName or on any other field intended to be user visible in SPC, but we probably should have some guidance.

In general, the fields should all be viewed as short and specific pieces of information about the given item (whether thats the PaymentInstrument, the payeeName, etc). WebAuthn has similar strings, and has the following guidance section for user agents that includes the ability to arbitrarily truncate strings: https://w3c.github.io/webauthn/#sctn-strings

@ianbjacobs - #agenda? :D

@ianbjacobs
Copy link
Collaborator

@stephenmcgruer, will do.

@ianbjacobs
Copy link
Collaborator

Discussed at 25 April meeting

@stephenmcgruer
Copy link
Collaborator

Discussed at 25 April meeting

To summarize, the agreed upon outcome was to build character limits into the spec, based on the 3DS protocol requirements as a starting point. I own putting together a PR for that, to be reviewed at a future WG sync.

@stephenmcgruer stephenmcgruer self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants