forgejo/models/migrations/fixtures
Gusted 13e48ead92 feat: migrate action secrets to keying to store them more securely (#8692)
- Use the keying module, that was introduced in forgejo/forgejo#5041, to store action secrets safely and securely in the database.
- Introduce a central function that sets the secret, `SetSecret` and let the caller do the update call. This is similar to how the twofactor (TOTP) models does it. Ref. https://codeberg.org/forgejo/forgejo/pulls/6074
- Add a relaxed migration, that is run inside a transaction. If it cannot decrypt a action secret, then it's deleted.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8692
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-07-29 01:03:36 +02:00
..
Test_AddCombinedIndexToIssueUser
Test_AddConfidentialClientColumnToOAuth2ApplicationTable
Test_AddHeaderAuthorizationEncryptedColWebhook
Test_AddIssueResourceIndexTable
Test_AddPayloadVersionToHookTaskTable
Test_AddRepoIDForAttachment
Test_AddUniqueIndexForProjectIssue
Test_ChangeMavenArtifactConcatenation fix: maven use groupId:artifactId for package name concatenation (#6352) 2025-06-01 09:02:29 +02:00
Test_CheckProjectColumnsConsistency
Test_DeleteOrphanedIssueLabels
Test_MigrateActionSecretToKeying feat: migrate action secrets to keying to store them more securely (#8692) 2025-07-29 01:03:36 +02:00
Test_MigrateNormalizedFederatedURI add port and schema to federation host (#7203) 2025-04-16 08:07:51 +00:00
Test_MigrateTwoFactorToKeying
Test_RemigrateU2FCredentials
Test_RemoveInvalidLabels
Test_RemoveSSHSignaturesFromReleaseNotes
Test_RepositoryFormat
Test_SetTopicsAsEmptySlice fix: ensure consistent empty repository topics field (#7920) 2025-05-29 22:39:53 +02:00
Test_StoreWebauthnCredentialIDAsBytes
Test_UnwrapLDAPSourceCfg
Test_UpdateBadgeColName
Test_UpdateOpenMilestoneCounts