Commit graph

42 commits

Author SHA1 Message Date
Alexander Bakker
964fc72fba Don't try to catch exceptions that'll never be thrown 2018-06-05 15:49:00 +02:00
Alexander Bakker
cd781d3236 Add support for turning encryption on/off 2018-05-14 16:53:27 +02:00
Alexander Bakker
0ad39ab673 Make the API of all encoding classes similar 2018-03-19 18:33:38 +01:00
Alexander Bakker
9c433f96cf Wrap the Base64 class to prevent a runtime exception for bad input 2018-03-19 18:17:20 +01:00
Alexander Bakker
f1a03638a0 Make sure we only catch specific exceptions instead of catching them all 2018-03-19 18:00:53 +01:00
Alexander Bakker
97c57210f1 Add a UUID to database entries and slots to make merging databases easy
Also, some other fixes for database exporting
2018-03-13 18:30:47 +01:00
Alexander Bakker
b27edb1b6b Update dependencies 2018-03-13 14:27:32 +01:00
Alexander Bakker
587835ad38 Move to an entirely JSON encoded file for the database 2018-02-14 21:05:04 +01:00
Alexander Bakker
7eaffc933e Reorganize classes into separate packages 2018-02-13 21:17:21 +01:00
Alexander Bakker
c24b691a26 Add an activity to manage database key slots 2018-02-10 14:06:22 +01:00
Alexander Bakker
e3024eda47 Make replaceKey and removeKey functions rely on id's instead of instances 2018-01-02 14:36:56 +01:00
Alexander Bakker
44139de212 Replace the FAB with a FAB menu and allow manually entering OTP details 2017-12-30 00:32:05 +01:00
Alexander Bakker
fdf8da1f32 Pretty print the json of the database if it's exported in plain text 2017-12-27 23:23:05 +01:00
Alexander Bakker
db54d38c14 Fix a couple of bugs in the new profile edit activity 2017-12-27 23:01:23 +01:00
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