Password Encryption is not working on Linux.
Checkout EncryptPasswordFactory to resolve this issue.
When running the tests i get this error:
System.PlatformNotSupportedException
Stacktrace:
Stack Trace:
at System.Security.Cryptography.RSACryptoServiceProvider..ctor()
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login/Factories/EncryptPasswordFactory.cs(23,0): at skadisteam.login.Factories.EncryptPasswordFactory.EncryptPassword(EncryptPasswordModel encryptPasswordModel)
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login/Factories/EncryptPasswordFactory.cs(18,0): at skadisteam.login.Factories.EncryptPasswordFactory.Create(GetRsaKeyResponse getRsaKeyResponse, String password)
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login.test/Factories/EncryptPasswordTest.cs(29,0): at skadisteam.login.test.Factories.EncryptPasswordTest.Length()
Other stacktrace:
skadisteam.login.test.Factories.EncryptPasswordTest.Format [FAIL]
System.PlatformNotSupportedException : Operation is not supported on this platform.
Stack Trace:
at System.Security.Cryptography.RSACryptoServiceProvider..ctor()
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login/Factories/EncryptPasswordFactory.cs(23,0): at skadisteam.login.Factories.EncryptPasswordFactory.EncryptPassword(EncryptPasswordModel encryptPasswordModel)
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login/Factories/EncryptPasswordFactory.cs(18,0): at skadisteam.login.Factories.EncryptPasswordFactory.Create(GetRsaKeyResponse getRsaKeyResponse, String password)
/home/kevin/programming/github/skadisteam.login/src/skadisteam.login.test/Factories/EncryptPasswordTest.cs(17,0): at skadisteam.login.test.Factories.EncryptPasswordTest.Format()
Finished: skadisteam.login.test
Possible solution described here:
Test System:
- Ubuntu 16.04
- .netcore 1.1.0
- netstandard 1.6
Password Encryption is not working on Linux.
Checkout EncryptPasswordFactory to resolve this issue.
When running the tests i get this error:
Stacktrace:
Other stacktrace:
Possible solution described here:
Test System: