1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/tests/integration/migration-test
Gusted a8c61532d2
feat: migrate TOTP secrets to keying
- 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.
2024-11-27 00:34:16 +01:00
..
gitea-v1.6.4.mysql.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
gitea-v1.6.4.postgres.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
gitea-v1.6.4.sqlite3.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
gitea-v1.7.0.mysql.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
gitea-v1.7.0.postgres.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
gitea-v1.7.0.sqlite3.sql.gz feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
migration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00