mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 13:49:13 -05:00
a8c61532d2
- Currently the TOTP secrets are stored using the `secrets` module with as key the MD5 hash of the Secretkey, the `secrets` module uses general bad practices. This patch migrates the secrets to use the `keying` module (#5041) which is easier to use and use better practices to store secrets in databases. - Migration test added. - Remove the Forgejo migration databases, and let the gitea migration databases also run forgejo migration databases. This is required as the Forgejo migration is now also touching tables that the forgejo migration didn't create itself. |
||
---|---|---|
.. | ||
Test_AddCombinedIndexToIssueUser | ||
Test_AddConfidentialClientColumnToOAuth2ApplicationTable | ||
Test_AddHeaderAuthorizationEncryptedColWebhook | ||
Test_AddIssueResourceIndexTable | ||
Test_AddPayloadVersionToHookTaskTable | ||
Test_AddRepoIDForAttachment | ||
Test_AddUniqueIndexForProjectIssue | ||
Test_CheckProjectColumnsConsistency | ||
Test_DeleteOrphanedIssueLabels | ||
Test_MigrateTwoFactorToKeying | ||
Test_RemigrateU2FCredentials | ||
Test_RemoveInvalidLabels | ||
Test_RemoveSSHSignaturesFromReleaseNotes | ||
Test_RepositoryFormat | ||
Test_StoreWebauthnCredentialIDAsBytes | ||
Test_UnwrapLDAPSourceCfg | ||
Test_UpdateBadgeColName | ||
Test_UpdateOpenMilestoneCounts |