Skip to content

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Feb 14, 2022

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 [email protected]

@zeripath zeripath added this to the 1.16.2 milestone Feb 14, 2022
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 <[email protected]>
@zeripath zeripath force-pushed the backport-varchar-410-is-not-enough branch from 5afd9fc to fdc245f Compare February 14, 2022 23:27
@zeripath zeripath changed the title Attempt to fix the webauthn migration again - part 3 Attempt to fix the webauthn migration again - part 3 (#18770) Feb 14, 2022
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 15, 2022
Copy link
Contributor

@fnetX fnetX left a 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 <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 16, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 16, 2022
@zeripath zeripath merged commit 08d5a83 into go-gitea:release/v1.16 Feb 16, 2022
@zeripath zeripath deleted the backport-varchar-410-is-not-enough branch February 16, 2022 21:15
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants