Commit Graph

18 Commits (043451382044a8d9c96b1f4a897419133ca7add6)

Author SHA1 Message Date
Alexander Bakker 0434513820 Refactor the database classes to be more reusable 7 years ago
Alexander Bakker 3f01a0a3da Get rid of all uses of double brace initialization
The way this feature is implemented in java is absolutely ridiculous
7 years ago
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
7 years ago
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
7 years ago
Alexander Bakker cd781d3236 Add support for turning encryption on/off 8 years ago
Alexander Bakker 0ad39ab673 Make the API of all encoding classes similar 8 years ago
Alexander Bakker 9c433f96cf Wrap the Base64 class to prevent a runtime exception for bad input 8 years ago
Alexander Bakker f1a03638a0 Make sure we only catch specific exceptions instead of catching them all 8 years ago
Alexander Bakker 97c57210f1 Add a UUID to database entries and slots to make merging databases easy
Also, some other fixes for database exporting
8 years ago
Alexander Bakker 587835ad38 Move to an entirely JSON encoded file for the database 8 years ago
Alexander Bakker 7eaffc933e Reorganize classes into separate packages 8 years ago
Alexander Bakker 461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 8 years ago
Alexander Bakker 95638b359b Add basic support for exporting the database 8 years ago
Alexander Bakker 515e3a24eb Improve database file reading code 8 years ago
Alexander Bakker 4e10e5d514 Make Database return a read-only list on getKeys()
Also move some stuff around
8 years ago
Alexander Bakker c0bdd261b5 Clean things up a bit 8 years ago
Impyy e8e7a822c5 Push some work on yet another rework of the database. This time with slots!
Details are in doc/db.md
8 years ago
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
8 years ago