GithubHelp home page GithubHelp logo

leonardoxh / keystore-ultimate Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 8.0 355 KB

The ultimate solution for keystore manipulation in Android

License: Apache License 2.0

Java 100.00%
android keystore secure storage

keystore-ultimate's People

Contributors

bambi-bf avatar leonardoxh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keystore-ultimate's Issues

Get Password When App Deleted .

Can I save password in phone storage using keystore.when app is deleted and reinstall again , i want get password from phone storage.i dont want using sql lite,preference. which are dependent on app storage.

New Logo Design For Keystore Ultimate

Hi, I am a graphic designer, I want to help others in graphic design.

After I review your project, you have no logo on this project yet. Therefore I want to contribute to this project by creating a new logo / icons and It's free. Do you want it?

Possible data loss due obfuscation

private static final String SHARED_PREFERENCES_NAME = CipherPreferencesStorage.class.getName() + "_security_storage";

Current implementation is using class name (CipherPreferencesStorage) as part of shared preferences name (holding the encrypted data). This won't work if Proguard/obfuscation is used in project; classname of CipherPreferencesStorage will be scrambled by obfuscator (unless exclusion rule is added), and shared prefs name could vary per build - resulting in loss of data between builds.

  1. Build app without obfuscation, data is available via com.github.leonardoxh.keystore.store.CipherPreferencesStorage_security_storage.xml shared pref
  2. Recompile same app with obfucation, data is available via ab.c.d_security_storage.xml shared pref
  3. Modify deps, recompile same app with obfucation, data is available via ab.c.e.d_security_storage.xml shared pref

= implementation should not use classname in shared pref name as it will not remain consistant between builds if obfuscation is used

Data source abstraction

Should I abstract the "data source" so in this way we can save the encoded value in SQLite for example?

Can't generate certificate

When I use the library on Api 22, the method call:

cipherStorage.encrypt(alias, data)

return the following message:

"Can´t generate certificate" with the following detailMessage:
"private exponent cannot be extracted"

Change artefacts structure

Right now I override the CipherStorageFactory for test artefact and the main artefact, but this causes some problems running the unit tests from command line, also it causes some confusions on class path.

I need create another main artefact that depends on the library artefact to solve this problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.