Skip to content

Replace encryption password #2011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

abulvenz
Copy link

@abulvenz abulvenz commented Aug 14, 2023

PR Description:

The encryption password should not be copied to the target system log. Passing it to Journald in plain text should be OK on the installation system.

This is achieved by replacing the password when writing the log file.

Tests and Checks

  • I have tested the code!

The encryption password should not be copied to the target system log. Passing it to `Journald` in plain text should be OK on the installation system.
@abulvenz abulvenz requested a review from Torxed as a code owner August 14, 2023 08:27
@svartkanin
Copy link
Collaborator

@abulvenz the log function is a generic function to log text. Adding a custom filter for strings in there isn't the right way to go, but we should rather track down which caller of this function is actually trying to log the encryption password and prevent it there

@svartkanin
Copy link
Collaborator

In addition, this doesn't really solve the issue linked as the problem there is the credentials configuration file NOT any logging of passwords, which we're not actually doing

@svartkanin svartkanin closed this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants