mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[PR #1228] [MERGED] bootstrap: do not leak password in process list #1194
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#1194
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?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/1228
Author: @ibizaman
Created: 7/21/2025
Status: ✅ Merged
Merged: 7/22/2025
Merged by: @nitnelave
Base:
main← Head:boostrap_leak📝 Commits (1)
9153331bootstrap: do not leak password in process list📊 Changes
2 files changed (+14 additions, -6 deletions)
View changed files
📝
scripts/bootstrap.sh(+2 -2)📝
set-password/src/main.rs(+12 -4)📄 Description
As discussed in a comment, we should use a variable to hold the password to avoid leaking it in the process list.
Btw I've tried to merge the body of the two if clauses but I couldn't come up with something more elegant.
This was tested in https://github.com/NixOS/nixpkgs/pull/425923
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.