Skip to content
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

salty-coffee doesn't work on Android devices #26

Closed
kaibaaqua opened this issue Jul 15, 2022 · 3 comments
Closed

salty-coffee doesn't work on Android devices #26

kaibaaqua opened this issue Jul 15, 2022 · 3 comments

Comments

@kaibaaqua
Copy link
Contributor

I want to use salt-coffe 1.0.5 for android apps, but unfortunately, it doesn't work because Android doesn't have either of
"NativePRNGNonBlocking", "NativePRNG", "DRBG" algorithm for SecureRandom.

Android uses SHA1PRNG (provider is AndroidOpenSSL version 1.0)

It is possible to use SHA1PRNG for Android as well?

@NeilMadden
Copy link
Owner

According to this blog from the Android developers, SHA1PRNG is deprecated and insecure. It looks like the recommended replacement is OpenSSLRandom - can you confirm please?

@NeilMadden
Copy link
Owner

PR merged, many thanks for fixing this. I'll push a new release shortly.

@NeilMadden
Copy link
Owner

Pushed release 1.1.0 resolving this issue. Should be available on Maven Central in the next few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants