[4.4] uams: warn when Randnum afppasswd key file is missing#2973
Merged
Conversation
🤖 Augment PR SummarySummary: Adds explicit security warnings when the Randnum UAM cannot use the afppasswd companion key file and therefore falls back to clear-text password entries. 🤖 Was this summary useful? React with 👍 or 👎 |
b225d46 to
3b98fd3
Compare
2fb3960 to
b1f1284
Compare
andylemin
approved these changes
May 10, 2026
Contributor
|
@rdmark LGTM. just some formatting to fix |
Contributor
|
@dependabot rebase |
Contributor
|
@dependabot recreate |
Log a security warning when the Randnum UAM falls back to clear-text afppasswd entries because the companion key file is not present or the configured path is too long. The warning notes that this insecure fallback is deprecated and will become a hard failure in a future release. Also allow the boundary case where the afppasswd path exactly leaves room for the ".key" suffix plus terminator, avoiding an unnecessary key-path failure.
b1f1284 to
aa852a4
Compare
Member
Author
|
@andylemin dependabot is only allowed to push to PRs that it created ;) |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Log a security warning when the Randnum UAM falls back to clear-text afppasswd entries because the companion key file is not present or the configured path is too long.
The warning notes that this insecure fallback is deprecated and will become a hard failure in a future release.
Also allow the boundary case where the afppasswd path exactly leaves room for the ".key" suffix plus terminator, avoiding an unnecessary key-path failure.
Additionally: build astyle v3.6.14 from scratch for code formatting job, because they introduced multiple regression bugs in 3.6.15 (reported upstream).