Replaced the sqlcipher database with a custom one

Still a WIP. This change was made to allow us to use Android's SecretKey API.
Which in turn allows us to store our secret keys in the Android KeyStore.

You can read about the database file format here: doc/db.md
This commit is contained in:
Impyy 2016-11-13 18:21:00 +01:00 committed by Alexander Bakker
parent a90e35eb97
commit 9de0f35104
32 changed files with 1551 additions and 163 deletions

View file

@ -1,7 +1,6 @@
package me.impy.aegis;
import java.io.Serializable;
import java.security.Key;
import me.impy.aegis.crypto.KeyInfo;
@ -14,7 +13,6 @@ public class KeyProfile implements Serializable {
public int Order;
public int ID;
public int compareTo(KeyProfile another) {
if (this.Order>another.Order){
return -1;