mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[GH-ISSUE #922] [BUG] Verbose logging logs out the database password #332
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#332
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ofersadan85 on GitHub (Jun 25, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/922
Describe the bug
On application startup with
LLDAP_VERBOSE=trueset in the environment or in the config.toml we get a print out of several secrets that are well hidden, likeBut the database URL which contains the password is printed without a problem
To Reproduce
Expected behavior
First of all, this is very insecure and should be hidden.
Another way of achieving this would be to allow constructing the database URL from several different variables, something like
... and so on, which would allow to hide at least some of the sensitive data, if you don't want to hide everything.
@nitnelave commented on GitHub (Jun 25, 2024):
That should already be solved when using the latest tag (not stable).