1
0
Fork 0
gitea/modules
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
..
analyze
auth Fix bug in reverse proxy (#16026) 2021-05-31 02:54:16 -04:00
avatar
base fix truncate utf8 string (#15828) 2021-05-13 08:50:57 +01:00
cache
charset
context Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
convert Fix individual tests (addition to #15802) (#15818) 2021-05-12 00:13:42 -04:00
cron
csv
doctor Add err to log (#15813) 2021-05-10 20:48:23 +01:00
emoji
eventsource Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
generate
git git migration: don't prompt interactively for clone credentials (#15902) 2021-05-17 18:59:31 +08:00
gitgraph
graceful Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
hcaptcha
highlight Allow custom highlight mapping beyond file extensions (#15808) 2021-05-13 12:31:23 +03:00
httpcache
httplib
indexer Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 2021-05-15 16:22:26 +02:00
lfs
log
markup Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
matchlist
metrics
migrations Encrypt migration credentials at rest (#15895) 2021-05-31 04:25:47 -04:00
nosql
notification Don't manipulate input params in email notification (#16011) 2021-05-30 10:38:38 +01:00
options
password
pprof
private add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
process
public Improve assets handler middleware (#15961) 2021-05-30 18:25:11 +08:00
queue Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 2021-05-15 16:22:26 +02:00
recaptcha
references
repofiles
repository Double the avatar size factor (#15941) 2021-05-21 21:18:43 -04:00
secret
session
setting Unified custom config creation (#16012) 2021-05-29 19:44:14 +01:00
ssh
storage
structs Add Active and ProhibitLogin to API (#15689) 2021-05-11 02:22:29 +02:00
svg
sync
task Encrypt migration credentials at rest (#15895) 2021-05-31 04:25:47 -04:00
templates
test
timeutil
translation
upload
uri
user
util
validation
web Fix setting of SameSite on cookies (#15989) 2021-05-26 21:01:07 -04:00