Go to file
Praburaj 33fa06a25c Fixing dataprotection on IIS
Fixes: https://github.com/aspnet/DataProtection/issues/73

On IIS where there is no user profile, the code tries to always read the 32bit registry view irrespective of the bitness of the worker process. So in case of 64 bit app pools the registry key is null so it falls back to in memory ephemeral repository. On 32 bit app pool it can find an appropriate registry key, but the keyRepositoryDescriptor is not populated resulting in a null reference exception.

Current behavior:
X86 throws
X64 falls back to in memory ephemeral

With fix:
Both X86 and X64 will use DPAPI.
2015-04-01 11:54:24 -07:00
src Fixing dataprotection on IIS 2015-04-01 11:54:24 -07:00
test
.gitattributes
.gitignore
CONTRIBUTING.md
DataProtection.sln
DataProtection.sln.DotSettings
LICENSE.txt
NuGet.Config Updating to release NuGet.config 2015-03-25 11:29:29 -07:00
README.md
build.cmd
build.sh Remove k command and use dnx instead 2015-03-24 21:28:25 -07:00
global.json
makefile.shade

README.md

DataProtection

Data Protection APIs

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.