You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RSACryptoServiceProvider throws System.DllNotFoundException: Unable to load DLL 'Advapi32.dll' on Linux #5015
Running ASP.NET 5 application on the coreclr on Linux fails when using the RSACryptoServiceProvider
DNX version: 1.0.0-rc1-final
System.DllNotFoundException: Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
changed the title [-]RSACryptoServiceProvider throws System.DllNotFoundException: Unable to load DLL 'Advapi32.dll'[/-][+]RSACryptoServiceProvider throws System.DllNotFoundException: Unable to load DLL 'Advapi32.dll' on Linux[/+]on Jan 27, 2016
Activity
[-]RSACryptoServiceProvider throws System.DllNotFoundException: Unable to load DLL 'Advapi32.dll'[/-][+]RSACryptoServiceProvider throws System.DllNotFoundException: Unable to load DLL 'Advapi32.dll' on Linux[/+]gkhanna79 commentedon Jan 27, 2016
@joshfree can you please route this?
joshfree commentedon Jan 27, 2016
I've moved this bug to the corefx repo @ https://github.com/dotnet/corefx/issues/5737