forgejo/models/migrations
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
..
base
fixtures feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
test
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12
v1_13
v1_14
v1_15
v1_16 Fix linting issues 2024-08-18 16:25:13 +02:00
v1_17
v1_18
v1_19
v1_20
v1_21
v1_22
v1_23 Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00
migrations.go [PORT] Refactor the DB migration system slightly (gitea#32344) 2024-11-03 17:00:48 +01:00
migrations_test.go [PORT] Refactor the DB migration system slightly (gitea#32344) 2024-11-03 17:00:48 +01:00