Norwin
cb940c4312
Encrypt migration credentials at rest ( #15895 )
...
* encrypt migration credentials in task persistence
Not sure this is the best approach, we could encrypt the entire
`PayloadContent` instead. Also instead of clearing individual fields in
payload content, we could just delete the task once it has
(successfully) finished..?
* remove credentials of past migrations
* only run DB migration for completed tasks
* fix binding
* add omitempty
* never serialize unencrypted credentials
* fix import order
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-05-31 04:25:47 -04:00
..
2021-05-06 05:12:50 +02:00
2021-05-31 04:25:47 -04:00
2021-03-14 19:52:12 +01:00
2021-02-19 22:36:43 +01:00
2021-05-01 14:17:02 +02:00
2021-05-16 19:58:26 +08:00
2021-03-23 00:09:51 +08:00
2021-04-03 18:19:59 +02:00
2021-05-12 00:13:42 -04:00
2021-05-21 21:18:43 -04:00
2021-04-09 09:40:34 +02:00
2021-02-04 11:23:46 -06:00
2021-03-14 19:52:12 +01:00
2021-04-30 20:08:46 +02:00
2021-04-30 20:08:46 +02:00
2021-04-10 07:12:38 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-05-12 00:13:42 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-05-12 00:13:42 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-19 18:25:08 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-04-15 19:34:43 +02:00
2021-03-14 19:52:12 +01:00
2021-04-08 13:53:59 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-05-11 21:43:35 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-02-04 11:23:46 -06:00
2021-04-05 08:41:22 +01:00
2021-05-20 09:29:57 +01:00
2021-04-10 16:49:10 -04:00
2021-05-07 00:17:43 +01:00
2021-05-07 00:17:43 +01:00
2021-03-14 19:52:12 +01:00
2021-01-02 00:33:27 +08:00
2021-04-10 16:49:10 -04:00
2021-04-28 12:35:06 +00:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-05-08 20:19:42 +01:00
2021-05-08 20:19:42 +01:00
2021-03-23 00:09:51 +08:00
2021-04-19 18:25:08 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-15 18:53:57 +02:00
2021-04-08 18:25:57 -04:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2021-04-09 09:40:34 +02:00
2021-03-14 19:52:12 +01:00
2021-03-23 23:10:19 +00:00
2021-03-27 15:55:40 +01:00
2021-03-14 19:52:12 +01:00
2021-04-30 21:10:39 +02:00
2021-04-15 11:03:11 +01:00
2021-04-15 11:03:11 +01:00
2021-05-01 22:51:03 -04:00
2021-01-02 10:07:43 +08:00
2021-01-20 20:36:55 +00:00
2021-03-14 19:52:12 +01:00
2021-05-31 04:25:47 -04:00
2021-03-24 19:27:22 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-04-17 00:22:25 +02:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-04-10 07:12:38 +01:00
2021-04-09 09:40:34 +02:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2021-05-12 00:13:42 -04:00
2021-05-12 20:36:53 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00