You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/auth
zeripath e819da0837
WebAuthn CredentialID field needs to be increased in size (#20530)
WebAuthn have updated their specification to set the maximum size of the
CredentialID to 1023 bytes. This is somewhat larger than our current
size and therefore we need to migrate.

The PR changes the struct to add CredentialIDBytes and migrates the CredentialID string 
to the bytes field before another migration drops the old CredentialID field. Another migration
renames this field back.

Fix #20457

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
main_test.go Use a struct as test options (#19393) 2 years ago
oauth2.go Add more linters to improve code readability (#19989) 2 years ago
oauth2_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
session.go Refactor auth package (#17962) 3 years ago
source.go Refactor auth package (#17962) 3 years ago
source_test.go Refactor auth package (#17962) 3 years ago
twofactor.go Use base32 for 2FA scratch token (#18384) 2 years ago
webauthn.go WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
webauthn_test.go WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago