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

Add max field check #1

Closed
onlykeytesting opened this issue May 13, 2016 · 3 comments
Closed

Add max field check #1

onlykeytesting opened this issue May 13, 2016 · 3 comments

Comments

@onlykeytesting
Copy link

Add max field check

@rodgolpe
Copy link
Contributor

Is this referring to form field validation when initializing the OK and/or configuring slots? Some has been implemented:

Slot Config Form
LABEL maxlength=10
USERNAME maxlength=20
DELAY1 min=0 max=255
PASSWORD maxlength=30
CONFIRMPASSWORD maxlength=30

@onlykey
Copy link
Collaborator

onlykey commented May 14, 2016

Keith means the form field. The max chars allowed in field should be the same as max in firmware.

@rodgolpe
Copy link
Contributor

rodgolpe commented Jul 7, 2016

USERNAME is now 32

Yubi auth fields are:
publicId: 17 (6 bytes + 5 spaces)
privateId: 17 (6 bytes + 5 spaces)
secretKey: 47 (16 bytes + 15 spaces)

U2F auth fields are:
privateId: 95 (32 bytes + 31 spaces)
cert: 3071 (1024 bytes + 1023 spaces)

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

3 participants