Commit graph

28 commits

Author SHA1 Message Date
Michael Schättgen
8b6d2694cc Extracted all class hardcoded string 2018-10-09 23:13:51 +02:00
Alexander Bakker
36907660e8 Restructure the code in the Slot classes a bit 2018-10-07 20:00:56 +02:00
Alexander Bakker
0434513820 Refactor the database classes to be more reusable 2018-10-07 10:47:07 +02:00
Alexander Bakker
ecbbcfee00 Fix a crash when importing an entry with an existing UUID
Close #11
2018-09-22 14:12:42 +02:00
Alexander Bakker
c3f94b37c8 Use GCM instead of a hash to check master key integrity
This is the last database format change before the initial release, probably
2018-06-06 19:38:13 +02:00
Alexander Bakker
4a4ab1a82c Bunch of refactoring
- Get rid of KeyProfile and use DatabaseEntry directly
- Don't store Google auth style urls in the db, but use separate fields
- Update testdata to reflect db format changes
- Lay the ground work for HOTP support
- Refactor KeyInfo and split it into OtpInfo, TotpInto and HotpInfo
- Surely some other stuff I forgot about
2018-06-06 16:15:31 +02:00
Alexander Bakker
cd781d3236 Add support for turning encryption on/off 2018-05-14 16:53:27 +02: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
c24b691a26 Add an activity to manage database key slots 2018-02-10 14:06:22 +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
07c3e43160 Add a new activity that allows editing key profiles 2017-12-27 22:04:22 +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
c0bdd261b5 Clean things up a bit 2017-11-26 19:03:13 +01: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