Commit graph

268 commits

Author SHA1 Message Date
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
Michael Schättgen
8b280ddbb0 Added minor improvements to the Intro 2018-06-06 18:01:35 +02:00
Alexander Bakker
da37b5175e Finish up HOTP support
Close #1
2018-06-06 17:23:40 +02:00
Alexander Bakker
3aba0f3f47 Generate TextDrawable based on issuer and use account name as fallback 2018-06-06 16:30:57 +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
9859011a6d Abstract the refresh loop away into a helper class 2018-06-05 19:03:29 +02:00
Alexander Bakker
3f3863a187 Finish work on the single progressbar for db's with uniform periods 2018-06-05 18:52:31 +02:00
Michael Schättgen
8a8cb94c16 Started working on a single progressbar when all periods are the same 2018-06-05 15:50:08 +02:00
Alexander Bakker
964fc72fba Don't try to catch exceptions that'll never be thrown 2018-06-05 15:49:00 +02:00
Alexander Bakker
b5c957d4d1 Prompt the user about unsaved changes in SlotManagerActivity
Close #13
2018-05-14 21:02:51 +02:00
Alexander Bakker
be222cd877 Fix a NullPointerException in the intro 2018-05-14 18:49:28 +02:00
Alexander Bakker
972a1670eb Make preferences look decent (material) on KitKat
I have no idea what I'm doing
2018-05-14 18:45:15 +02:00
Alexander Bakker
f8891c0225 Apply a hack to detect programmatic changes to SwitchPreference 2018-05-14 17:26:17 +02:00
Alexander Bakker
cd781d3236 Add support for turning encryption on/off 2018-05-14 16:53:27 +02:00
Alexander Bakker
2400977629 Make the user select the app to import a db from (drop autodetect for now) 2018-05-13 21:58:41 +02:00
Alexander Bakker
7422b0cf53 Add support for importing plain text andOTP databases 2018-05-13 19:42:59 +02:00
Alexander Bakker
c091d03473 Apply AppTheme.Fullscreen to ScannerActivity 2018-05-12 11:52:32 +02:00
Alexander Bakker
0ed58b4a01 Provide a default implementation of setPreferredTheme
And only override it if needed
2018-05-11 21:53:06 +02:00
Alexander Bakker
a681efcf2d Immediately apply the dark mode setting once it's changed 2018-05-11 21:30:15 +02:00
Alexander Bakker
4aa9374e0b Fix a crash that would occur because Preferences was initialized too early 2018-05-11 21:29:10 +02:00
Alexander Bakker
1ade4a3c4f Abstract preference queries away into a Preferences class 2018-05-11 20:08:51 +02:00
Alexander Bakker
9b6da0d3e3 Add a "Screen security" option that determines whether FLAG_SECURE is set 2018-05-11 19:33:20 +02:00
Alexander Bakker
4b9ec0cc9c Pick the right camera in onResume 2018-05-11 16:32:36 +02:00
Alexander Bakker
34d0134404 Support switching to the front-facing camera in ScannerActivity
Close #8
2018-05-11 16:31:18 +02:00
Alexander Bakker
7be5d08a60 Rework theming a bit to partially fix dark mode on dialogs
Dark mode is still not great, but at least it's a little less broken now
2018-05-11 15:15:50 +02:00
Alexander Bakker
3c2f62de26 Rename night mode to dark mode in the spots we missed 2018-05-10 23:32:20 +02:00
Alexander Bakker
e45735faa1 Don't close the EditProfileActivity to show a delete entry dialog 2018-05-10 23:12:08 +02:00
Alexander Bakker
da529608fa Don't leave the PreferencesActivity when managing slots 2018-05-10 21:46:27 +02:00
Alexander Bakker
7630bbfe25 Make sure permission request results are passed down to PreferencesFragment 2018-05-10 21:21:07 +02:00
Alexander Bakker
488e92d429 Abstract setting the thread priority away into ProgressDialogTask 2018-05-10 19:42:18 +02:00
Alexander Bakker
b9381d13d2 Don't leave the PreferencesActivity when exporting a database 2018-05-10 19:34:42 +02:00
Alexander Bakker
6770ccd3b1 Add support for importing encrypted Aegis databases
Close #6
2018-05-10 19:19:47 +02:00
Alexander Bakker
7f09eb5535 Move PreferencesFragment to a separate file 2018-05-10 14:54:58 +02:00
Alexander Bakker
246d3d634e Don't leave the PreferencesActivity when importing a database 2018-05-10 14:50:47 +02:00
Alexander Bakker
002045c7c7 Set FLAG_SECURE on every activity 2018-05-09 15:49:32 +02:00
Alexander Bakker
4cd87b0452 Update dependencies
And make the isRunning function in AegisApplication a little easier to read
2018-05-08 20:13:27 +02:00
Michael Schättgen
aaf7dbdb85 AdvancedSettings now automatically opens when creating a new profile 2018-04-10 13:35:35 +02:00
Michael Schättgen
b0450cab8b Fixed setting 'Account name' 2018-04-10 12:48:48 +02:00
Michael Schättgen
ae686c8ae2 Improved darkmode
Closes #10
2018-04-10 00:45:48 +02:00
Alexander Bakker
f6bbae3d96 Make backgroundTint consistent across all fields in EditProfileActivity
Also set the default visibility of the 'Advanced' layout to invisible
2018-04-05 17:56:19 +02:00
Michael Schättgen
22b3ca1dae Removed unused library 2018-04-05 12:45:12 +02:00
Michael Schättgen
ec9581e0c4 Removed library and improved advanced settings 2018-04-05 00:15:16 +02:00
Michael Schättgen
211f228efa Added advanced settings to EditProfile view 2018-04-05 00:07:48 +02:00
Alexander Bakker
0ad39ab673 Make the API of all encoding classes similar 2018-03-19 18:33:38 +01:00
Alexander Bakker
9c433f96cf Wrap the Base64 class to prevent a runtime exception for bad input 2018-03-19 18:17:20 +01: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
Michael Schättgen
457f578102 Merge branch 'master' of https://github.com/alexbakker/Aegis 2018-02-20 21:14:53 +01:00
Alexander Bakker
af2767af1b Move preference title/summary to strings.xml and add a timeout preference 2018-02-14 22:09:47 +01:00