Commit graph

55 commits

Author SHA1 Message Date
Alexander Bakker
71eb487f85 Hopefully fix a bug where keys from a previously opened database would still be visible 2017-12-08 19:09:35 +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
da4956cb3c Save the database on onStop instead of onPause 2017-12-03 22:00:46 +01:00
Alexander Bakker
41846f9114 Rework the import code a bit 2017-12-03 21:42:12 +01:00
Alexander Bakker
493ead1c68 Fix app shortcuts 2017-12-03 16:48:18 +01:00
Alexander Bakker
9286196811 Clean up the bottom sheet code a little 2017-11-27 21:38:02 +01:00
Alexander Bakker
daf81e02e6 Add some toast 2017-11-27 21:06:23 +01:00
Alexander Bakker
d922be3912 Decrypt the database on a separate thread and show a progress dialog 2017-11-27 18:24:55 +01:00
Alexander Bakker
277d76e467 Fix key profile sorting and simplify its logic a bit 2017-11-26 22:10:10 +01:00
Alexander Bakker
754a42b2c0 Abstract away otp refreshing 2017-11-26 19:50:05 +01:00
Alexander Bakker
f09d227378 Start the intro if the database file was not found 2017-11-26 19:27:03 +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
363fc789ef Get rid of the dummy scanner 2017-08-20 17:04:48 +02:00
Alexander Bakker
1ae9364c5e Add a lock button to the menu bar 2017-08-14 00:04:06 +02:00
Alexander Bakker
302c4802b7 Switch to a more flexible intro library 2017-08-13 19:51:54 +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
Alexander Bakker
c79c9f84dc Add remnant local changes 2017-08-06 18:21:01 +02:00
Impyy
3040276942 Make the slot lookup code a little nicer 2017-08-06 18:21:01 +02:00
Impyy
e3f4503967 Move the OTP stuff to a separate folder 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
a90e35eb97 Added new profile shortcut 2016-11-13 18:00:13 +01:00
Michael Schättgen
165146385d Started working on app shortcuts 2016-11-03 22:03:34 +01:00
Michael Schättgen
03713c303c Added preference to show / hide issuers 2016-11-01 23:43:46 +01:00
Michael Schättgen
54e5fba7c0 Added AlertDialog to delete process 2016-11-01 22:57:21 +01:00
Michael Schättgen
fd88c3e75b Changed way to initialize BottomSheet 2016-11-01 22:16:54 +01:00
Michael Schättgen
61149887ee Started working on the bottom sheet for editing profiles 2016-10-28 13:18:11 +02:00
Michael Schättgen
099250dd49 Added copy to clipboard onClick 2016-10-26 00:29:21 +02:00
Michael Schättgen
32ae66374b Cleaned up some code 2016-10-26 00:07:39 +02:00
Michael Schättgen
22524136a7 Order is now getting saved properly
Also enabled Java 8
2016-10-25 23:53:33 +02:00
Michael Schättgen
606ce09fc7 Rearranged code and improved listview 2016-10-04 22:23:34 +02:00
Michael Schättgen
fe44bdbb65 Started working on themes 2016-09-30 01:08:03 +02:00
Michael Schättgen
1182df481b Added preferences activity 2016-09-30 01:07:56 +02:00
Michael Schättgen
9112c16235 Added material intro screen including icons 2016-09-29 12:39:49 +02:00
Michael Schättgen
61e932a8bc Fixed ability to add profiles again 2016-08-24 23:48:25 +02:00
Michael Schättgen
c5626a41a7 Started working on a new 'Add'-Activity 2016-08-24 01:26: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
Impyy
5994be2e4d Clean up unused imports 2016-08-22 16:15:07 +02:00
Michael Schättgen
27c70aea27 Started working on night mode 2016-08-22 00:48:02 +02:00
Michael Schättgen
847d8acdd4 Replaced custom ItemClickListener and added ripple 2016-08-21 23:13:27 +02:00
Michael Schättgen
5783066e38 Added Drag and Drop support 2016-08-21 22:54:27 +02:00
Michael Schättgen
5a2aee70c6 Added clipboard manager 2016-08-21 22:32:07 +02:00
Michael Schättgen
0668e0639c Added itemClickListener 2016-08-21 22:24:04 +02:00
Michael Schättgen
2628925779 Added dialog and extend build.gradle 2016-08-17 01:14:25 +02:00
Michael Schättgen
2cd0e2660e Various recyclerview styling improvements 2016-08-16 20:54:53 +02:00
Michael Schättgen
873299a224 Added list and adapter to handle profiles 2016-08-16 20:04:38 +02:00
Impyy
ac1c2cf7df Reworked MainActivity to include an FA button and a settings button 2016-08-16 14:17:34 +02:00