Having a random key to encrypt local credentials through AES, I'm following the below tutorial to try to store securely that key and then be able to decrypt later on:
nelenkov.blogspot.co.uk storing applicationsecrets in androids
This tutorial explains how access to the system keystore and store your passwords in it.
The issue I'm facing it's focused in the call to UNLOCK (android.credentials.UNLOCK) the KeyStore. Devices (at the moment with API below 14) that don't have KeyStore initialized, they are showing a dialog requesting a 8 digits password.
The tutorial works fine however showing this dialog even do being only once, it's going to bother most of the users.
are there any way to skip this dialog?
I would be even happier if someone described a better way to keep locally a Key.