[Mono-dev] Data protection failed exception

Neale Ferguson neale at sinenomine.net
Fri Jan 22 03:17:17 UTC 2016

Further to the problem, tt seems to be a threading issue since if a lock
is put around this method call:

return ProtectedData.Protect(data, extraEntropy, dataProtectionScope);

then it would work. This seems to try an access some file in .mono/keypair
and it seems to be some concurrency issue since we have multiple threads
all calling this code at the same time and that’s where it get tripped up.

More information about the Mono-devel-list mailing list