mirror of
1
Fork 0
forgejo/models/migrations/fixtures
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
..
Test_deleteOrphanedIssueLabels Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
Test_remigrateU2FCredentials Attempt to fix the webauthn migration again - part 3 (#18770) 2022-02-16 21:03:58 +00:00
Test_removeInvalidLabels Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
Test_storeWebauthnCredentialIDAsBytes WebAuthn CredentialID field needs to be increased in size (#20530) 2022-07-30 15:25:26 +02:00
Test_unwrapLDAPSourceCfg Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00