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

[Question] Is the "keystore" branch going to be merged ? #59

Closed
aguscasaletti opened this issue Dec 13, 2017 · 12 comments
Closed

[Question] Is the "keystore" branch going to be merged ? #59

aguscasaletti opened this issue Dec 13, 2017 · 12 comments

Comments

@aguscasaletti
Copy link

What it the state of the "keystore" branch ? Is it going to be merged at some point ?
Otherwise, are there any plans on supporting Android Keystore in main branch ?

@ma-pe
Copy link

ma-pe commented Feb 7, 2018

@agustinaliagac
As I see it, the android keystore is used in the master branch. Take a look at: https://github.com/mCodex/react-native-sensitive-info/blob/master/android/src/main/java/br/com/classapp/RNSensitiveInfo/RNSensitiveInfoModule.java#L196

The keystore branch doesn't seem to have any changes that are not reflected on the master branch. It just wasn't deleted.

@hwaterke
Copy link

hwaterke commented Mar 6, 2018

Not really.

Correct me if I'm wrong but the master branch only uses the keystore when the android version is at least 6.0 and fingerprint auth is enabled.

This is not the case on the keystore branch which uses the keystore and encrypts data even for Android versions below 6.0

So there's still value in the keystore branch (which I would love to see merged)

@ma-pe
Copy link

ma-pe commented Mar 7, 2018

randycoulman did some research about this, so also regard: CodingZeal/redux-persist-sensitive-storage#14 (comment)

@mCodex
Copy link
Owner

mCodex commented Apr 5, 2018

Hi guys, It'd be nice to merge keystore branch into master, but It requires:

  • Will we remove Shared Preferences support?
  • Will RNSInfo possible to install on devices using Android API 16/17? Keystore needs at least API 18 or above.
  • Is there a way to do all of that without breaking changes?

Unfortunately, right now I don't have enough time to do it. If someone can help me a PR would be nice 🤗

@Palisand
Copy link

Palisand commented Jun 10, 2018

@dleistn1
Copy link

dleistn1 commented Jun 15, 2018

Hi everyone,

just want to ask what is the status of the Keystore merge, cause we need this for a app currently under development.

@mCodex Some suggestions for your above questions:

  1. Maybe the encryption should be only used if device is capable of handling it and fallback to shared prefs if not? So the library could be used on any device. Maybe its also possible to encrypt the shared preferences optionally in some way for devices below API 18?

  2. See 1. :)

  3. I haven't dive into the code yet, sorry

Thanks in advance and best regards
Dan

@aliceathens
Copy link

Would like to upgrade my app to support Fingerprint auth but also still support Android versions below 6.0.. I'm currently also using the keystore branch but would see benefit in merging this into master so I can make use of fingerprint and even face authentication in the future.

Thanks!

@star-collector
Copy link
Contributor

star-collector commented Sep 24, 2018

I made a merge request with an update for keystore branch #115. Basically, this is just the latest plugin version + keystore's encrypt/decrypt features for android from current keystore branch. Seems to be working just fine.

@voliva
Copy link

voliva commented Feb 10, 2019

I'm sorry I don't fully understand what's the difference between both branches, since in master branch I see that for Android M+ it's generating an AES key to encrypt the values stored in shared preferences

By taking a look at the diff, all I can see is that keystore branch supports older Androids by fallbacking to RSA keypair, but mostly focuses on just encrypting data regardless of fingerprint.

Given that the master branch already is working with keystore, for fingerprint support, is there any blocker to merge keystore branch?

@jacek213
Copy link

@mCodex I need to support Android >= 7.0 and I do not want to use fingerprint for storing stuff in store. Should I use the keystore branch? Or could u tell us how does encryption of shared preferences work on master branch?

@stale
Copy link

stale bot commented Jun 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 10, 2020
@stale
Copy link

stale bot commented Jul 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the 🚧 stale label Jul 10, 2020
@stale stale bot closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants