Initial pass on adding support for persistence using sqlcipher

To keep the database schema simple we just save the
otpauth:// url and let KeyInfo take care of checking for
validity.

This patch also includes multiple fixes for the KeyInfo
class.

We still need a separate activity to allow the user to
enter their PIN/password. Currently, "test" is used as the
password for the database.
This commit is contained in:
Impyy 2016-08-22 19:31:03 +02:00
parent 5994be2e4d
commit 8063ba11f1
9 changed files with 210 additions and 15 deletions

View file

@ -8,5 +8,6 @@ public class KeyProfile implements Serializable {
public String Name;
public String Icon;
public String Code;
public KeyInfo KeyInfo;
public KeyInfo Info;
public int ID;
}