Commit Graph

483 Commits (v1.0.3-release)

Author SHA1 Message Date
Alexander Bakker 782f24342c Refactor night mode code a bit 8 years ago
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
8 years ago
Alexander Bakker 862533286b Make sure a fingerprint is enrolled before showing the fingerprint option 8 years ago
Alexander Bakker 1fd85e360a Update SDK and dependencies 8 years ago
Alexander Bakker 49a31551a0 Clean up and fix a couple of bugs in the otp update process 8 years ago
Alexander Bakker 181cdc4c2e Request permissions at runtime if needed 8 years ago
Alexander Bakker 03d0eb01f4 Request storage permissions in the intro 8 years ago
Alexander Bakker c3f16c2428 Fix an issue with duplicate activities on rotation 8 years ago
Alexander Bakker 094924cd1c Refresh the key profile list on pref_issuer changes
Looks like 6b56a24c274994135fac95ad03678b4c668d2db3 introduced a regression after all
8 years ago
Alexander Bakker a66d94a743 Improve key profile adapter notification code 8 years ago
Alexander Bakker ed86d6ac8e Split KeyProfile adapter and holder, clean stuff up and fix some bugs 8 years ago
Alexander Bakker ff38af8e6b Separate package id for debug builds 8 years ago
Alexander Bakker dbc79b49e8 Save the database after a drag-drop event and stop saving it on onStop 8 years ago
Alexander Bakker 17378937a9 Don't call notifyDataSetChanged in onResume
The call appeared to be useless. Feel free to revert if it isn't
8 years ago
Alexander Bakker 644a6d89fe Remove redundant casts
Android SDK 26 changed the signature of findViewById
8 years ago
Alexander Bakker f952ee7df9 Abstract the key profile list away from MainActivity 8 years ago
Alexander Bakker 461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 8 years ago
Alexander Bakker f26dfac1b6 Some more intro logic fixes 8 years ago
Alexander Bakker 7d5bd8f812 Add a project for a cli application and update dependencies 8 years ago
Alexander Bakker 87f7ebed74 Select the password radio button by default in the intro 8 years ago
Alexander Bakker 467a877a6d Fix a bug where the intro could never finish for plain text databases 8 years ago
Alexander Bakker 95638b359b Add basic support for exporting the database 8 years ago
Alexander Bakker 71eb487f85 Hopefully fix a bug where keys from a previously opened database would still be visible 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 b3079dabc2 Remove the 'id' field from database entries as it was unused 8 years ago
Alexander Bakker f4b9d4b45c Set title for the decryption error dialog 8 years ago
Alexander Bakker da4956cb3c Save the database on onStop instead of onPause 8 years ago
Alexander Bakker 41846f9114 Rework the import code a bit 8 years ago
Alexander Bakker df5a815e57 Make sure DatabaseEntry name and icon fields always have a value 8 years ago
Alexander Bakker 107ca18187 Add a key importer for plain text aegis databases 8 years ago
Alexander Bakker 642784fe9d Increase priority of DerivationTask and SlotCollectionTask 8 years ago
Alexander Bakker 493ead1c68 Fix app shortcuts 8 years ago
Alexander Bakker fb24867569 Really, clear the confirmation password 8 years ago
Alexander Bakker 9286196811 Clean up the bottom sheet code a little 8 years ago
Alexander Bakker ad823d05cd Also clear the password confirmation field 8 years ago
Alexander Bakker daf81e02e6 Add some toast 8 years ago
Alexander Bakker ca68f0525d In the intro, wait for the derivation to be complete before continuing 8 years ago
Alexander Bakker 0afc1b3a97 Derive passwords on a separate thread in the intro
Also, show a progress dialog while waiting
8 years ago
Alexander Bakker 5df20ef525 Don't allow dismissing the progress dialog 8 years ago
Alexander Bakker d922be3912 Decrypt the database on a separate thread and show a progress dialog 8 years ago
Alexander Bakker 277d76e467 Fix key profile sorting and simplify its logic a bit 8 years ago
Alexander Bakker 74536dbda6 Don't allow swiping in the key profile list 8 years ago
Alexander Bakker 754a42b2c0 Abstract away otp refreshing 8 years ago
Alexander Bakker f09d227378 Start the intro if the database file was not found 8 years ago
Alexander Bakker 41bafba596 Update dependencies 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
Alexander Bakker 363fc789ef Get rid of the dummy scanner 8 years ago
Alexander Bakker 68709148e6 Reduce the delay after fingerprint recognition and apply and ugly hack 8 years ago
Alexander Bakker d906c6d9a8 Switch the FingerprintUiHelper over to SwirlView 8 years ago
Alexander Bakker 6e5962600e Clean up integrity checking code. Try every available slot, not just the first one. 8 years ago
Alexander Bakker 7269cc2b6a Verify integrity of decrypted slots and display a dialog on error 8 years ago
Alexander Bakker 1ae9364c5e Add a lock button to the menu bar 8 years ago
Alexander Bakker bfe7a1bde0 Add fingerprint support 8 years ago
Alexander Bakker 1deb8910b0 Don't allow back button presses in AuthActivity 8 years ago
Alexander Bakker 302c4802b7 Switch to a more flexible intro library 8 years ago
Alexander Bakker 1528aa5eaf Remove some unused code 8 years ago
Alexander Bakker 1f6bceddb7 Simplify the toBytes helper function a bit 8 years ago
Alexander Bakker 911b2fab78 Replace PBKDF2 with scrypt, provided by Spongy Castle 8 years ago
Alexander Bakker 12dcf54cd3 Check whether the database has been loaded before trying to decrypt it 8 years ago
Alexander Bakker 3e2bb5b0b3 Support plain text databases 8 years ago
Alexander Bakker 722ea50b68 Add an activity to decrypt the database 8 years ago
Alexander Bakker 53e86db187 Start hooking up the intro to the database code
Fingerprint stuff has been left out for now
8 years ago
Michael Schättgen f1b499f101 Started working on authentication methods 8 years ago
Alexander Bakker c79c9f84dc Add remnant local changes 8 years ago
Impyy a5c6c329ab Remove Makefile 8 years ago
Impyy 0c60c63a8c Fix a bug in the slot deserialization function 8 years ago
Impyy 3040276942 Make the slot lookup code a little nicer 8 years ago
Impyy e3f4503967 Move the OTP stuff to a separate folder 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 a90e35eb97 Added new profile shortcut 9 years ago
Michael Schättgen dc7f8b5b7e Upgraded sdk 9 years ago
Michael Schättgen 165146385d Started working on app shortcuts 9 years ago
Michael Schättgen b129832358 Fixed night mode colors 9 years ago
Michael Schättgen 03713c303c Added preference to show / hide issuers 9 years ago
Michael Schättgen 54e5fba7c0 Added AlertDialog to delete process 9 years ago
Michael Schättgen fd88c3e75b Changed way to initialize BottomSheet 9 years ago
Michael Schättgen 61149887ee Started working on the bottom sheet for editing profiles 9 years ago
Michael Schättgen fd3db9854d Added issuer to profile card 9 years ago
Michael Schättgen 099250dd49 Added copy to clipboard onClick 9 years ago
Michael Schättgen 32ae66374b Cleaned up some code 9 years ago
Michael Schättgen ded23a3ae9 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/me/impy/aegis/KeyProfileAdapter.java
9 years ago
Michael Schättgen 22524136a7 Order is now getting saved properly
Also enabled Java 8
9 years ago
Impyy 56e4e79eb2 Schedule update tasks directly on the UI handler 9 years ago
Michael Schättgen 036dd2b2cb Improved styling 9 years ago
Michael Schättgen 606ce09fc7 Rearranged code and improved listview 9 years ago
Michael Schättgen 9204e530b0 Finished night theme 9 years ago
Michael Schättgen fe44bdbb65 Started working on themes 9 years ago
Michael Schättgen 1182df481b Added preferences activity 9 years ago
Michael Schättgen fa7e5941f1 Fixed progressbar 9 years ago
Impyy 9814b09f03 Made the progressbars go from 100 to 0 again
I accidentally reverted 470244b26cbde721ccae61aa7b891747e58c197d
9 years ago
Impyy 2128b5bf59 Made the progressbar animation somewhat smoother 9 years ago
Michael Schättgen 016cbd9ebc Progressbars now go the other way 9 years ago
Michael Schättgen 5c0b3177a6 Fixed support library versions 9 years ago
Michael Schättgen 1b12dfc3e0 Added progressbars to keys 9 years ago
Michael Schättgen 9112c16235 Added material intro screen including icons 9 years ago
Michael Schättgen ed829d004b Various fixes 9 years ago
Michael Schättgen 5eb2af0512 Fixed FAB icon and added background to Profiles 9 years ago
Michael Schättgen 0c45315c21 Added more details to AddActivity 9 years ago
Michael Schättgen 6463d6fb9e Styling improvements 9 years ago
Michael Schättgen 61e932a8bc Fixed ability to add profiles again 9 years ago
Michael Schättgen c5626a41a7 Started working on a new 'Add'-Activity 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
Impyy 5994be2e4d Clean up unused imports 9 years ago
Impyy 555a0d673a Merge branch 'timer-timing' 9 years ago
Michael Schättgen 27c70aea27 Started working on night mode 9 years ago
Michael Schättgen 847d8acdd4 Replaced custom ItemClickListener and added ripple 9 years ago
Michael Schättgen 5783066e38 Added Drag and Drop support 9 years ago
Michael Schättgen 5a2aee70c6 Added clipboard manager 9 years ago
Impyy 9aa4e35203 Fire off the updateCode tasks at exactly the right time 9 years ago
Michael Schättgen 49a19cc910 Adjusted app colors 9 years ago
Michael Schättgen 0668e0639c Added itemClickListener 9 years ago
Michael Schättgen f11145ce95 Added ImageDrawable to listview 9 years ago
Impyy 59402d30ff Properly parse issuer and account name 9 years ago
Impyy 58d60e2760 Remove constraint-layout for now 9 years ago
Michael Schättgen 1825f6719d Added SquareFinderView for obvious reasons 9 years ago
Michael Schättgen 2628925779 Added dialog and extend build.gradle 9 years ago
Michael Schättgen a8179865d6 Added timers to update 9 years ago
Michael Schättgen 2cd0e2660e Various recyclerview styling improvements 9 years ago
Michael Schättgen 873299a224 Added list and adapter to handle profiles 9 years ago
Impyy ac1c2cf7df Reworked MainActivity to include an FA button and a settings button 9 years ago
Impyy 6a6da66bbe Added OTP.java
This class wraps the TOTP and HOTP functions in a method
called generateOTP which takes an instance of KeyInfo.
9 years ago
Impyy d4007ab065 Multiple improvements to KeyInfo.java
- Got rid of the setters as those won't be used anyway
- Renamed 'algo' to 'algorithm'
- KeyInfo.FromURL is now guaranteed to produce a valid result
9 years ago
Impyy b3957bb76f Fixed the TOTP test 9 years ago
Michael Schättgen b14eb42b12 Scanner now passes result correctly to MainActivity 9 years ago
Michael Schättgen 745e5c13b6 Generating OTP now works 9 years ago
Michael Schättgen 8dc53357a3 Added KeyInfo class 9 years ago
Michael Schättgen 4b4bf6ace5 Scanner now only supports QR 9 years ago
Michael Schättgen f508eb6645 Added permission request 9 years ago
Michael Schättgen 3df18c0226 Started working on ZXing 9 years ago
Impyy c0219fbc35 Initial commit 9 years ago