Go to file
Praburaj 56cfbdde82 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 13:02:09 -07:00
src Fixing dataprotection on IIS 2015-04-01 13:02:09 -07:00
test Reliability: Tweak comparison in key revocation checks 2015-03-18 15:15:58 -07:00
.gitattributes
.gitignore
CONTRIBUTING.md
DataProtection.sln Move time-limited data protector to Extensions project 2015-03-17 14:52:15 -07:00
DataProtection.sln.DotSettings
LICENSE.txt
NuGet.Config
README.md
build.cmd Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:20 -07:00
build.sh Marked build.sh as executable 2015-03-31 05:23:09 -07:00
global.json
makefile.shade Fix content path for config transform 2015-03-19 11:00:05 -07:00

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.