-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Attempt to fix the webauthn migration again - part 3 (#18770) #18771
Attempt to fix the webauthn migration again - part 3 (#18770) #18771
Conversation
MariaDB now asserts that 408 characters is too long for a VARCHAR(410) I have no words. See go-gitea#18756 Signed-off-by: Andrew Thornton <art27@cantab.net>
5afd9fc
to
fdc245f
Compare
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this backport on our data, and I can at least confirm that the resulting data (id, credential_id) in webauthn_credential is equal to what the previous migration was supposed to do :)
I'll probably check later if my key is accepted, but I'll first need to learn how the access the web interface via multiple agent forwarded ssh connections ...
Signed-off-by: Andrew Thornton <art27@cantab.net>
…char-410-is-not-enough
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Backport #18770
v208.go is seriously broken as it misses an ID() check. We need to no-op and remigrate all of the u2f keys.
See #18756
Signed-off-by: Andrew Thornton art27@cantab.net