-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.SecurityException: new SecureRandom() #151
Comments
Are you also using java-aes-crypto? There is a narrow race condition when multiple code paths attempt to set up PRNG fixes. See tozny/java-aes-crypto#11 for more details. The latest version of java-aes-crypto should synchronize correctly and prevent this issue, but if it is still occurring we could relax the check in PRNG fixes to prevent this crash. |
I changed the library, but the problem remains the same:
|
Hi, I'm experiencing same issue with my app in Android 4.3, sdk version is 2.5.2:
|
I just released a snapshot ( |
During the first tests I did not find the previous problem. If problem reproduces in further tests it will post here. |
@lkorth Having different crash now:
|
@GrzegorzFeather the |
@lkorth This is the full stack trace. An additional comment the exception is not specific of the SNAPSHOT. I'm currently using v2.5.2, by simply upgrading to v2.5.4 I got this exception instead of the one posted originally in this issue
|
@GrzegorzFeather the crash you posted has the same root issue, it just happens to be wrapped in the |
@lkorth using 2.5.4-SNAPSHOT did not fix the issue for me, I get same stacktrace I posted in my previous comment:
|
@GrzegorzFeather thanks for testing |
Hi @lkorth it is still crashing for me on a clean build :/ If this serves any help, I also have the data-collector dependency in my project:
|
@GrzegorzFeather are you still experiencing issues with the latest version of the SDK? |
Hey @GrzegorzFeather, I'm going to close this due to inactivity. Please @ me on this issue if you're still experiencing issue and I'll reopen it. |
General information
Issue description
The text was updated successfully, but these errors were encountered: