Skip to content
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

Replace secret data with asterisks in debug logs #24

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

mz-pdm
Copy link
Member

@mz-pdm mz-pdm commented Sep 8, 2022

Vdsm provides secret data, namely TPM and secure boot NVRAM data, to Engine in response to getVmExternalData API call. This data is returned with ‘_X_data’ key and occurs in debug logs. When logging an API call response, let’s replace data of ‘X*’ keys with asterisks.

@mz-pdm
Copy link
Member Author

mz-pdm commented Nov 1, 2022

/ost

@mz-pdm
Copy link
Member Author

mz-pdm commented Nov 1, 2022

/ci

@mz-pdm
Copy link
Member Author

mz-pdm commented Nov 1, 2022

@mwperina , what to do with this, merge or abandon?

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Vdsm provides secret data, namely TPM and secure boot NVRAM data, to
Engine in response to getVmExternalData API call.  This data is
returned with ‘_X_data’ key and occurs in debug logs.  When logging an
API call response, let’s replace data of ‘_X_*’ keys with asterisks.
@mwperina mwperina merged commit 577bfcb into oVirt:master Nov 1, 2022
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.

None yet

3 participants