You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
Wrote an encryption wrapper class using Tray to replace the one i had been using for SharedPreferences. Maybe someone else will find it useful. Find it here https://github.com/draekko/securedtray
Thanks for the good work on Tray as it solved a problem i had with concurrent access to data with multiple processes & SharedPreferences. Saved me a ton of time writing a similar library from scratch.
The text was updated successfully, but these errors were encountered:
Thanks for your contribution!
Personally I would have implemented a SecureStorage extends ModularizedStorage <TrayItem> like TrayStorage and pass it into a SecureTrayModulePreferences extends TrayPreference like TrayModulePreferences.
This would result into the same API as Tray but with a secure data storage.
True, but i was limited in time to implement something, maybe eventually ;) Also i already had most of the code from the wrapper class for the SharedPreferences.
I already use sqlcipher in other projects, compiling it for 64 bit builds is somewhat problematic right now as they refuse to update it (there have been contributed patches for a while that they are sitting on) because they are "waiting" for openssl to update their code to compile for 64bit builds. At least that's their official response so far. So i'd wait a while for that to happen before making anything official from that end.
Also using sqlcipher adds a native .so library dependency (and all that brings) to a project and i didn't want that for this one i was i working on.
Wrote an encryption wrapper class using Tray to replace the one i had been using for SharedPreferences. Maybe someone else will find it useful. Find it here https://github.com/draekko/securedtray
Thanks for the good work on Tray as it solved a problem i had with concurrent access to data with multiple processes & SharedPreferences. Saved me a ton of time writing a similar library from scratch.
The text was updated successfully, but these errors were encountered: