Closed Bubka closed 1 year ago
Merci!
The Nitrokey, or any other key, might use lengthier keys. For that, the current workaround is to edit the column migration to allow for larger keys. This should work if you're on production:
ALTER TABLE webauthn_credentials MODIFY COLUMN id VARCHAR(512);
AFAIK, there is no "id length" standard. In any case, I'll push a patch to make push the string limitation further to 510 characters.
PHP & Platform
8.1.11 - Windows 10
Database
MySQL 8.0.30
Laravel version
9.36.3
Have you done this?
Expectation
When registering a security key, the attestation is stored to db.
Description
When registering a Nitrokey, an error occurs when attestation is written to MySQL db because of a too long index (298 chars!)
This Nitrokey does not validate the assumption made here: https://github.com/DarkGhostHunter/Larapass/issues/14#issuecomment-665327620
Reproduction
Stack trace & logs