Commit Graph

25 Commits (043451382044a8d9c96b1f4a897419133ca7add6)

Author SHA1 Message Date
Alexander Bakker 0434513820 Refactor the database classes to be more reusable 7 years ago
Alexander Bakker ecbbcfee00 Fix a crash when importing an entry with an existing UUID
Close #11
7 years ago
Alexander Bakker 04dbb71cd7 Merge remote-tracking branch 'origin/custom-images' 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 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 e3024eda47 Make replaceKey and removeKey functions rely on id's instead of instances 8 years ago
Alexander Bakker fdf8da1f32 Pretty print the json of the database if it's exported in plain text 8 years ago
Alexander Bakker db54d38c14 Fix a couple of bugs in the new profile edit activity 8 years ago
Alexander Bakker 418f5aed29 Don't write the counter and id's to disk
Why do I keep changing my mind
8 years ago
Alexander Bakker 07c3e43160 Add a new activity that allows editing key profiles 8 years ago
Alexander Bakker 05cfc0bc5f Converted old databases to using id's for entries 8 years ago
Alexander Bakker 043d70f190 Reintroduce id's for database entries 8 years ago
Alexander Bakker 461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 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 b3079dabc2 Remove the 'id' field from database entries as it was unused 8 years ago
Alexander Bakker daf81e02e6 Add some toast 8 years ago
Alexander Bakker c0bdd261b5 Clean things up a bit 8 years ago
Alexander Bakker 37e303626f Add an option to import a FreeOTP token file 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
Michael Schättgen 165146385d Started working on app shortcuts 9 years ago
Michael Schättgen 22524136a7 Order is now getting saved properly
Also enabled Java 8
9 years ago
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.
9 years ago