Commit Graph

536 Commits (v1.0.3-release)
 

Author SHA1 Message Date
Alexander Bakker 9893b2f057 Add support for importing encrypted andOTP backups
This also refactors dialog_newgroup to serve as a generic text input dialog
6 years ago
Alexander Bakker 83b2f85ff4
Merge pull request #73 from alexbakker/refactor-import
Refactor database importer logic
6 years ago
Alexander Bakker 47df8968c7 Refactor database importer logic
Summary:
- Combine app and file importers into one type
- Split encrypted and plain text file logic into separate DatabaseImporter.State
  classes
- Add an abstract FileReader class that can handle reading from apps and files

The idea is that every importer implements its own UI logic to obtain
credentials for decryption through a dialog. Aegis databases are still an
exception to this rule as it still uses an Activity to ask for credentials. This
will be addressed in a future patch.

As a result of this change all app importers are now also available under
"Import from file".
6 years ago
Alexander Bakker 33b4b4b7ab
Merge pull request #72 from michaelschattgen/feature-selectentries
Add ability to select entries when importing
6 years ago
Michael Schättgen 21fd8fdd8d Add ability to select entries when importing
Move onScroll to seperate class to avoid duplicate code

Move importing logic back to the PreferencesFragment

Add minor changes

Add ImportEntry to properly track checked states

Minor layout changes
6 years ago
Michael Schättgen 7ec8391872
Merge pull request #71 from alexbakker/fix-pass-encode
Fix a bug where the password encode function added trailing null bytes
6 years ago
Alexander Bakker afb9e59711 Fix a bug where the password encode function added trailing null bytes
Funny story. Instead of	obtaining the actual bytes from the ByteBuffer in the
password encode function, we obtained the entire buffer. This caused some
trailing null bytes to be added to the encoded password. Luckily (and
strangely), PBKDF2 produces collisions for inputs with trailing null bytes and
thus scrypt does this as well. As such, this bug doesn't affect us right now,
but it would if we were to use that encode function for other purposes in the
future.

This also adds a test that checks for the expected collision behavior of scrypt.
6 years ago
Alexander Bakker 24a93ecc9f
Merge pull request #66 from michaelschattgen/feature-scanimage
Add ability to scan image for QR code
6 years ago
Michael Schättgen 2de9b96138 Add ability to scan image for QR code 6 years ago
Michael Schättgen e0d5aba94a
Update README.md 6 years ago
Michael Schättgen f3b4433d5b
Merge pull request #60 from alexbakker/doc-vault
Add documentation for Aegis' security design and vault format
6 years ago
Alexander Bakker f4678e2813 Release v0.3.3 6 years ago
Michael Schättgen b958145761 Fix bug where parsing otp codes was impossible
Y I K E S
6 years ago
Alexander Bakker feea9a2e67 Fix crash when trying to auto lock a locked vault 6 years ago
Alexander Bakker ebb9d0be3f Make app importer path lookup more dynamic
Also fixes a crash in SteamAppImporter that occurred with empty dirs
6 years ago
Alexander Bakker f5cbec21f4 Release v0.3.2 6 years ago
Alexander Bakker e55d6111cf Fix bold in full_description.txt for F-Droid 6 years ago
Alexander Bakker cb01fb21d3 Remove extra translations to fix lint errors in release mode 6 years ago
Alexander Bakker c5be99e58d Release v0.3.1 6 years ago
Alexander Bakker 92458d0d3b Move setGlobalDurationScale to AegisActivity
Also, rename the method and make the error string translatable
6 years ago
Michael Schättgen 5d835b05ee
Merge pull request #56 from ByteHamster/krop-color
Darkened Krop color
6 years ago
Michael Schättgen 2a47fa4de5 Add method to set global duration scale
Fixes #35
6 years ago
Alexander Bakker ead17949f9 Add simple example script to decrypt an Aegis vault 6 years ago
Alexander Bakker d5a848e79e Add a document detailing Aegis' security design and vault format 6 years ago
Alexander Bakker 553cb16bc4
Merge pull request #57 from ByteHamster/arrays
Strings.xml cleanup
6 years ago
ByteHamster 47f8c9e648 Strings cleanup
- Removed unused strings
- Moved arrays to their own file, so translators do not have to deal with arrays
6 years ago
Alexander Bakker 791138ccab
Merge pull request #55 from ByteHamster/focus-password
Show keyboard automatically
6 years ago
Alexander Bakker 6cbef27cfb
Merge pull request #58 from ByteHamster/master
Added F-droid icon to readme
6 years ago
H. Lehmann e5f7dce9b8
Added F-droid icon 6 years ago
ByteHamster a415ef573e Show keyboard automatically 6 years ago
ByteHamster ffa2577cc2 Darkened Krop color 6 years ago
Alexander Bakker 2a0daae155 Fix crash that occurred when scheme of the URI in a QR code is missing 6 years ago
Michael Schättgen b41e328d22 Add ability to translate themes and viewmodes
Closes #50
6 years ago
Michael Schättgen 1ac42d85d6
Merge pull request #53 from alexbakker/feature-autolock
Add an option to automatically lock the app
6 years ago
Michael Schättgen 685a791aba
Merge pull request #49 from zaggo0/master
Add Dutch translations
6 years ago
Michael Schättgen 89a1663e28 Fix bug where entries didn't get sorted properly 6 years ago
Alexander Bakker 0563ac917a Fix some rare crashes when restoring the app after termination
Also fixes an issue where the app shortcuts would not work for unencrypted vaults
6 years ago
Patrick van der Linden 719ef3bc71 Add Dutch translations
+ Fix preference groups not being translated
6 years ago
Alexander Bakker 18fd88a441 Add an option to automatically lock the app
This adds an option to automatically lock the app when:
* The back button is pressed
* The device is locked

It's the first step towards implementing #7
6 years ago
Alexander Bakker 6d93b78f9a Fix a crash on KitKat when clearing the KeyStore
Apparently KitKat doesn't like KeyPermanentlyInvalidatedException
6 years ago
Alexander Bakker 4365a693f2 Get Cipher back from FingerprintManager,CryptoObject after auth 6 years ago
Alexander Bakker 14fa493ac9 Remove keys from the KeyStore when disabling encryption or fingerprint 6 years ago
Alexander Bakker 36e3dd559c Normalize formatting and 'optimize' imports 6 years ago
Alexander Bakker b681d57b4e Update testdata file to use 'test' as the password 6 years ago
Alexander Bakker c5fa40166f Add some info about verifying APK's obtained from GitHub to the README 6 years ago
Michael Schättgen b7cf234db6 Add smaller view mode
Closes #39
6 years ago
Alexander Bakker f27dc54ec4 Release v0.3 6 years ago
Alexander Bakker 4c1dec613c Fallback to a 30 second period if an andOTP doesn't provide one 6 years ago
Alexander Bakker a251685002 Add a dialog that displays a list of errors that occurred during import 6 years ago
Alexander Bakker 118221e3df Add support for Steam tokens to the andOTP importer
Close #44
6 years ago