We are going to take a breaking change and remove the functionality of the SecureStringTo* methods which should now be implemented directly on Marshal.
Once they are avaialable on the Marshal class we can expose them as direct calls from this library.
Commit migrated from https://github.com/dotnet/corefx/commit/edac8aa25cf1bf79f61bcac87b45f06d3b74c456
And remove imports.
Now that we have netstandard packages that support all targets we should
use them. This means we don't need imports.
I opted to use the stable packages rather than the LKG ones since this
will reduce churn in the product assemblies.
This has the added benefit of reducing download time for the repo.
Commit migrated from https://github.com/dotnet/corefx/commit/a330f3651c999b241d55ca25d9baa7fb0f247c5c
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter). I made the change programatically using a simple Roslyn-based tool.
Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
- Get it to compile again; lots changed since it was removed.
- Fix the package; lots changed since it was removed.
- Fix the Unix implementation to be usable; previous hacky attempts were made to provide deeper security but that significantly impacted usability... now it simply keeps the data in unmanaged memory and ensures it's zeroed out when disposed.
- Added missing methods to SecureStringMarshal
- Improved the tests
- General additional code cleanup
Commit migrated from https://github.com/dotnet/corefx/commit/d144478997b46afcf7a82e6860fce3c29d0dcf62
The corefx build used an older beta5 version of DNX which hardcoded the path to bash in dnu, breaking the build on FreeBSD.
Updating DNX to the latest "stable" beta7 release fixes this.
After updating I noticed a few test projects didn't build anymore as they were missing some dependencies in project.json, added those.
Fixesdotnet/corefx#3173
Commit migrated from https://github.com/dotnet/corefx/commit/6df77fdbb6cf8e0d35a3074bb325f7810085daa3
This change updates the assembly versions of all of the corefx assemblies
as needed after we shipped stable versions. Assemblies with API differences
get a minor version bump. Assemblies with only bugfixes get a build version
bump.
In order to facilitate this I had to update the reference assemblies, so I took
the opportunity to port them all to the open.
[tfs-changeset: 1514419]
Commit migrated from https://github.com/dotnet/corefx/commit/40723b795917f2e98b64d45c17effb2546dd0cae