Skip to content

Use Marshal.SecureStringToGlobalAllocUnicode #3825

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

Merged
merged 3 commits into from
Jun 19, 2019
Merged

Use Marshal.SecureStringToGlobalAllocUnicode #3825

merged 3 commits into from
Jun 19, 2019

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Jun 18, 2019

Relates: #3806 (comment)

This commit updates the SecureStrings implementation to use the cross platform
Marshal methods that deal with unmanaged unicode strings.

Implement IDisposable on BasicAuthenticationCredentials and dispose of SecureString
instances when ConnectionConfiguration is disposed.

Relates: #3806 (comment)

This commit updates the SecureStrings implementation to use the cross platform
Marshal methods that deal with unmanaged unicode strings.

Implement IDisposable on BasicAuthenticationCredentials and dispose of SecureString
instances when ConnectionConfiguration is disposed.
Copy link
Contributor

@codebrain codebrain left a comment

Choose a reason for hiding this comment

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

++

Should we have a test for the masking?

@Mpdreamz Mpdreamz mentioned this pull request Jun 18, 2019
15 tasks
@russcam
Copy link
Contributor Author

russcam commented Jun 19, 2019

Added a test for SecureStrings

@russcam russcam merged commit 29eb3a5 into 7.x Jun 19, 2019
@RolfDeVries
Copy link

Thank you very much, the nightly build works.

@russcam russcam deleted the fix/securestring branch July 2, 2019 00:51
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.

3 participants