KeyStore + target API 25#58
Conversation
- update gradle wrapper - add KeyStoreProvider - make use of hardware backed encryption
|
@ncioj10 this looks really interesting. I'm struggling for time to review this PR. Please don't take the delay as a dis, i'm just busy with paid work and family. |
|
@ncioj10 This looks good, I'm in the process of splitting the Don't worry about fixing any merge conflicts yet, as i say I'm in process of re-vamping the core code. |
|
Sorry for the late reply, I was a bit overwhelmed by work. I think it also might be necessary to check for enivornment at some points in my code, so when you're finished with the refactoring give me a heads up and I'll fit my code accordingly. |
What did I do:
I created a KeyStoreProvider to encrypt non-password AES Keys before saving them.
For password Keys I create a random key which I save encrypted. After decrypting it again via the KeyStore I add it to the password on every initialization. This way non-password and password Keys can be protected with hardware backed security.