mirror of
1
Fork 0
forgejo/routers
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>
2022-07-30 15:25:26 +02:00
..
api Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
private Add missing parameter for error in log message (#20144) 2022-06-27 16:52:22 +03:00
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web WebAuthn CredentialID field needs to be increased in size (#20530) 2022-07-30 15:25:26 +02:00
init.go Initialize cron last (#20373) 2022-07-15 16:20:05 +01:00