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

Fix for: Spkl writes connection string password to log file as a plain text when creating early bound types #355

Merged
merged 4 commits into from
Jan 30, 2021

Conversation

teppolainio
Copy link
Contributor

When spkl is used to generate early bound types spkl writes parameters given to CrmSvcUtil into log file. These parameters include connection string and in many cases this will include password. This happens also when spkl interactively asks connection string or password from user.

This PR adds masking functionality into task responsible of creating early bound classes. Call to this masking functionality is added to the point in code which writes parameters into log. Passcode is masked with four stars. Otherwise parameter string going to log is left intact.

@scottdurow scottdurow merged commit 2d76217 into scottdurow:spkl_dev Jan 30, 2021
@scottdurow
Copy link
Owner

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