mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #778] [MERGED] server: Add a check for a changing private key #946
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#946
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/778
Author: @nitnelave
Created: 12/29/2023
Status: ✅ Merged
Merged: 12/29/2023
Merged by: @nitnelave
Base:
main← Head:key_hash📝 Commits (1)
e10b389server: Add a check for a changing private key📊 Changes
7 files changed (+524 additions, -33 deletions)
View changed files
📝
Cargo.lock(+3 -0)📝
server/Cargo.toml(+5 -0)📝
server/src/domain/sql_migrations.rs(+27 -1)📝
server/src/domain/sql_tables.rs(+103 -3)📝
server/src/infra/cli.rs(+5 -1)📝
server/src/infra/configuration.rs(+354 -27)📝
server/src/main.rs(+27 -1)📄 Description
This checks that the private key used to encode the passwords has not changed since last successful startup, leading to a corruption of all the passwords. Lots of common scenario are covered, with various combinations of key in a file or from a seed, set in the config file or in an env variable or through CLI, and so on.
Fixes #747
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.