Caused by java.lang.SecurityException: new SecureRandom() backed by wrong Provider: class com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes$a at com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes.installLinuxPRNGSecureRandom(SourceFile:699) at com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes.apply(SourceFile:618) at com.quickblox.auth.secure.AesCbcWithIntegrity.fixPrng(SourceFile:281) at com.quickblox.auth.secure.AesCbcWithIntegrity.generateKeyFromPassword(SourceFile:139) at com.quickblox.auth.secure.SecurePreferences.(SourceFile) at com.quickblox.auth.secure.SecurePreferences.(SourceFile) at com.quickblox.auth.session.a.(SourceFile) at com.quickblox.auth.session.QBSessionManager.init(SourceFile:49) at com.quickblox.auth.session.QBSettings.init(SourceFile:124)
Help avoid duplicate issue reports, check [existing issues](link to issues section of repo)
Environment details (Operating system, browser information, SDK version) Android OS- 4.1.3, 4.3 SDK version - 3.2.0
Did this work before? This is the first release with QB
Expected behavior Should not crash
Actual behavior App crashes
Logs (please, use github gist)
Exception
:Caused by java.lang.SecurityException: new SecureRandom() backed by wrong Provider: class com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes$a at com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes.installLinuxPRNGSecureRandom(SourceFile:699) at com.quickblox.auth.secure.AesCbcWithIntegrity$PrngFixes.apply(SourceFile:618) at com.quickblox.auth.secure.AesCbcWithIntegrity.fixPrng(SourceFile:281) at com.quickblox.auth.secure.AesCbcWithIntegrity.generateKeyFromPassword(SourceFile:139) at com.quickblox.auth.secure.SecurePreferences.(SourceFile) at com.quickblox.auth.secure.SecurePreferences.(SourceFile) at com.quickblox.auth.session.a.(SourceFile) at com.quickblox.auth.session.QBSessionManager.init(SourceFile:49) at com.quickblox.auth.session.QBSettings.init(SourceFile:124)
Got this on a live app.