Commit graph

28 commits

Author SHA1 Message Date
Alexander Bakker
418f5aed29 Don't write the counter and id's to disk
Why do I keep changing my mind
2017-12-27 22:34:53 +01:00
Alexander Bakker
07c3e43160 Add a new activity that allows editing key profiles 2017-12-27 22:04:22 +01:00
Alexander Bakker
05cfc0bc5f Converted old databases to using id's for entries 2017-12-27 21:08:24 +01:00
Alexander Bakker
043d70f190 Reintroduce id's for database entries 2017-12-27 21:01:53 +01:00
Alexander Bakker
0427164529 Never start the intro if the database file exists 2017-12-25 00:17:50 +01:00
Alexander Bakker
ff214eaa4a Add more assertions to DatabaseManager 2017-12-24 22:29:32 +01:00
Alexander Bakker
a140ba8506 Fix various issues by moving most global state logic out of MainActivity
* Move global state to a new class that overrides Application
* Make sure all preferences are stored in the same place and follow the same naming convention
2017-12-24 18:23:11 +01:00
Alexander Bakker
ff38af8e6b Separate package id for debug builds 2017-12-12 12:25:55 +01:00
Alexander Bakker
461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 2017-12-12 01:50:00 +01:00
Alexander Bakker
95638b359b Add basic support for exporting the database 2017-12-10 19:19:48 +01:00
Alexander Bakker
515e3a24eb Improve database file reading code 2017-12-04 22:08:50 +01:00
Alexander Bakker
4e10e5d514 Make Database return a read-only list on getKeys()
Also move some stuff around
2017-12-04 21:23:49 +01:00
Alexander Bakker
b3079dabc2 Remove the 'id' field from database entries as it was unused 2017-12-04 21:06:13 +01:00
Alexander Bakker
df5a815e57 Make sure DatabaseEntry name and icon fields always have a value 2017-12-03 21:35:15 +01:00
Alexander Bakker
107ca18187 Add a key importer for plain text aegis databases 2017-12-03 18:06:35 +01:00
Alexander Bakker
daf81e02e6 Add some toast 2017-11-27 21:06:23 +01:00
Alexander Bakker
c0bdd261b5 Clean things up a bit 2017-11-26 19:03:13 +01:00
Alexander Bakker
37e303626f Add an option to import a FreeOTP token file 2017-08-26 15:47:57 +02:00
Alexander Bakker
12dcf54cd3 Check whether the database has been loaded before trying to decrypt it 2017-08-06 22:52:40 +02:00
Alexander Bakker
3e2bb5b0b3 Support plain text databases 2017-08-06 21:45:27 +02:00
Alexander Bakker
722ea50b68 Add an activity to decrypt the database 2017-08-06 18:24:12 +02:00
Alexander Bakker
53e86db187 Start hooking up the intro to the database code
Fingerprint stuff has been left out for now
2017-08-06 18:21:01 +02:00
Impyy
a5c6c329ab Remove Makefile 2017-08-06 18:21:01 +02:00
Impyy
e8e7a822c5 Push some work on yet another rework of the database. This time with slots!
Details are in doc/db.md
2017-08-06 18:21:01 +02:00
Impyy
9de0f35104 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
2017-08-06 18:21:01 +02:00
Michael Schättgen
165146385d Started working on app shortcuts 2016-11-03 22:03:34 +01:00
Michael Schättgen
22524136a7 Order is now getting saved properly
Also enabled Java 8
2016-10-25 23:53:33 +02:00
Impyy
8063ba11f1 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.
2016-08-22 22:44:09 +02:00