Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Oct 11, 2018

PR Summary

Currently, if you try to import clixml that contains a securestring, you get this error:

Import-Clixml : Unable to load shared library 'CRYPT32.dll' or one of its dependencies.

This dll is only available on Windows and causes confusion why it's not working. Change is to throw PlatformNotSupportedException on non-Windows.

PR Checklist

@SteveL-MSFT SteveL-MSFT force-pushed the deserialize-securestring-error branch 2 times, most recently from 250a304 to 0718f77 Compare October 11, 2018 21:08
Copy link
Contributor

Choose a reason for hiding this comment

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

"Deserialization of SecureString is currently only supported on Windows." ?

@SteveL-MSFT SteveL-MSFT force-pushed the deserialize-securestring-error branch from cbb8ef4 to e0b5d1d Compare October 11, 2018 22:55
@TravisEz13 TravisEz13 merged commit b62e152 into PowerShell:master Oct 12, 2018
adityapatwardhan pushed a commit to adityapatwardhan/PowerShell that referenced this pull request Apr 9, 2019
@SteveL-MSFT SteveL-MSFT deleted the deserialize-securestring-error branch March 10, 2020 21:01
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.

4 participants