forgejo/modules
zeripath 17be645498
Encrypt LDAP bind password in db with SECRET_KEY (#15547)
* Encrypt LDAP bind password in db with SECRET_KEY

The LDAP source bind password are currently stored in plaintext in the db
This PR simply encrypts them with the setting.SECRET_KEY.

Fix #15460

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove ui warning regarding unencrypted password

Co-authored-by: silverwind <me@silverwind.io>
2021-05-20 09:29:57 +01:00
..
analyze
auth Encrypt LDAP bind password in db with SECRET_KEY (#15547) 2021-05-20 09:29:57 +01:00
avatar Use single shared random string generation function (#15741) 2021-05-10 07:45:17 +01:00
base fix truncate utf8 string (#15828) 2021-05-13 08:50:57 +01:00
cache
charset Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
context Prevent double-login for Git HTTP and LFS and simplify login (#15303) 2021-05-15 17:32:09 +02:00
convert Fix individual tests (addition to #15802) (#15818) 2021-05-12 00:13:42 -04:00
cron add cron job to delete old actions from database (#15688) 2021-05-01 14:17:02 +02:00
csv Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
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 Use single shared random string generation function (#15741) 2021-05-10 07:45:17 +01:00
git git migration: don't prompt interactively for clone credentials (#15902) 2021-05-17 18:59:31 +08:00
gitgraph Fix bug on commit graph (#15517) 2021-04-17 10:27:25 +01:00
graceful Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 2021-05-15 16:22:26 +02:00
hcaptcha
highlight Allow custom highlight mapping beyond file extensions (#15808) 2021-05-13 12:31:23 +03:00
httpcache
httplib fix webhook timeout bug (#15613) 2021-04-25 21:48:12 +03:00
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 Fix lfs management find (#15537) 2021-04-21 18:31:59 +02:00
log
markup Fixed individual markdown tests. (#15802) 2021-05-09 15:29:49 +02:00
matchlist
metrics
migrations GitHub: migrate draft releases too (#15884) 2021-05-15 18:37:17 -04:00
nosql Fix setting redis db path (#15698) 2021-05-03 13:24:24 -04:00
notification Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
options
password
pprof
private Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) 2021-05-10 15:57:45 +08:00
process
public add /assets as root dir of public files (#15219) 2021-04-28 12:35:06 +00: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 Respect default merge message syntax when parsing item references (#15772) 2021-05-09 19:25:23 +01:00
repofiles
repository Set GIT_DIR correctly if it is not set (#15751) 2021-05-07 15:19:09 +02:00
secret Use single shared random string generation function (#15741) 2021-05-10 07:45:17 +01:00
session
setting Add mimetype mapping settings (#15133) 2021-05-10 16:38:08 -04:00
ssh
storage
structs Add Active and ProhibitLogin to API (#15689) 2021-05-11 02:22:29 +02:00
svg
sync
task
templates Fix incorrect asset URL (#15805) 2021-05-09 21:03:09 +01:00
test Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
timeutil
translation Use index of the supported tags to choose user lang (#15452) 2021-04-14 19:52:01 +01:00
upload
uri
user
util Use single shared random string generation function (#15741) 2021-05-10 07:45:17 +01:00
validation
web Defer closing the gitrepo until the end of the wrapped context functions (#15653) 2021-05-06 01:30:25 +02:00