Commit Graph

570 Commits (a93ced6e340861908802b828c53c7e030c12616b)
 

Author SHA1 Message Date
Alexander Bakker 02c9a0cb1c Move entry divider logic to EntryListView
This patch makes EntryListView responsible for providing the divider between
entries, instead of setting a margin on every entry like we do now. It also
fixes a couple of miscellaneous issues, like use of the old package name.
6 years ago
Michael Schättgen eb29be587f Fix bug where searchview did not reset properly 6 years ago
Alexander Bakker f64a23d98f Release v0.4.3 6 years ago
Michael Schättgen 8bbadb9e57
Merge pull request #130 from alexbakker/fix-import
Limit the amount of entry info passed to SelectEntriesActivitiy
6 years ago
Alexander Bakker 4066cd83cc Limit the amount of entry info passed to SelectEntriesActivitiy
This horrid patch changes the vault import logic to pass an ImportEntry list to
SelectEntriesActivity, instead of a DatabaseEntry list. Previously, a crash
would occur when importing a vault with lots of icons, because the maximum
Parcel size was exceeded.

Storing icons in the vault file was a bad idea.
6 years ago
Alexander Bakker cca35bd5e5
Merge pull request #109 from michaelschattgen/feature-entrysearch
Add ability to search for entries in vault
6 years ago
Michael Schättgen 187adfa738 Add ability to search for entries
Fix bug where new entries did not get filtered

Fix IsEntryFiltered
6 years ago
Alexander Bakker 246c03dea1
Merge pull request #107 from michaelschattgen/feature-importauthy
Add support for importing from Authy
6 years ago
Alexander Bakker e68571a7a6
Merge pull request #108 from michaelschattgen/feature-qrshortcuticon
Add new QR shortcut icon which follows material guidelines
6 years ago
Michael Schättgen 128c85fc0c
Merge pull request #111 from alexbakker/fix-intro-decrypt
Don't ignore the result of IntroActivity when the vault is locked
6 years ago
Michael Schättgen c75b25c4b6 Add new QR shortcut icon which follows material guidelines
Remove superfluous drawable files
6 years ago
Michael Schättgen 6abcfcea75 Add ability to import from Authy
Fix importer and appImporter lists
6 years ago
Alexander Bakker b300b72626 Don't ignore the result of IntroActivity when the vault is locked
This fixes a bug where AuthActivity would be shown after finishing the intro.
6 years ago
Alexander Bakker b2995955b6 Release v0.4.2 6 years ago
Alexander Bakker 1c9d07a47d Adapt the unlock button size in AuthActivity to the text width 6 years ago
Alexander Bakker 66f99eb4d4 Always launch AuthActivity on lock if MainActivity is resumed 6 years ago
Alexander Bakker ff584a323d Always try to decrypt the password slot first, before the fallback
This makes sure the case where a user set up Aegis v0.4 with a password of over
64 bytes is also covered.
6 years ago
Alexander Bakker 8c658ac930 Use the old encode method for passwords over 64 bytes and repair the slot (#98)
Commit afb9e59711 fixed a bug where the password
encode function would add null bytes to the end of the output. Luckily (I
thought), PBKDF2 produces collisions for inputs with trailing null bytes and
thus scrypt does this as well, so we could safely change that function to remove
the null bytes without any impact. Unfortunately, that doesn't hold up if the
password is over 64 bytes in size. So after that change, the KDF started
producing different keys than before for such passwords and thus some users
could no longer unlock their vault.

This patch addresses the issue by using the old password encode function for
passwords over 64 bytes and repairing the affected password slot.
6 years ago
mdmk 588c1c07df Update french translation (#97)
* Update strings.xml
6 years ago
Alexander Bakker f54639c791
Merge pull request #89 from michaelschattgen/feature-ignorespaces
Add possibility to ignore spaces in EditTexts
6 years ago
Alexander Bakker 7c78ddc929 Release v0.4.1 6 years ago
Alexander Bakker 9f3ccdc508 Force a period uniformity check when initializing EntryAdapter
This fixes a bug where the progress bar was not shown upon unlock.
We'll come up with a better solution later. This is just a hot fix.
6 years ago
Alexander Bakker 99c222cffa Release v0.4 6 years ago
Michael Schättgen 3556cd0e66 Add possibility to ignore spaces in EditTexts 6 years ago
Alexander Bakker 57e3574693 Fix a bug where Aegis would forcibly pop up after unlocking the device 6 years ago
Alexander Bakker 98c166a6b2
Merge pull request #86 from michaelschattgen/feature-clearpassword
Select and focus password on failed unlock attempt
6 years ago
Michael Schättgen b6a31e798f Select and focus password on failed unlock attempt 6 years ago
Michael Schättgen 5ebb714d05 Fix setting the preferred theme 6 years ago
Alexander Bakker 9958f73926 Set the Activity theme before calling super.onCreate (#84)
This fixes a NullPointerException that would occur when restoring from
savedInstanceState due to getSupportActionBar returning null. It also removes
the theme definitions from AndroidManifest as we override those anyway.
6 years ago
Alexander Bakker 0fb33744ae Update Krop to 0.44 (#83) 6 years ago
Alexander Bakker 6d26d1beb0 Fix the last couple of sorting bugs (#77)
This fixes the following bugs:
- Sort category is forgotten after lock/unlock
- The sort mode is not respected for new entries

I got a little carried away while working on this patch and also included the
following other enhancements:
- Simplify the SortCategory, Theme and ViewMode enums
- Simplify usage of string resources
- Don't call notifyDataSetChanged and runLayoutAnimation unnecessarily
6 years ago
Alexander Bakker 0a8dd56306 Escape apostrophes in the French translation 6 years ago
mdmk 8a8d714901 French translation and small changes to english strings. (#59)
* Typos in strings

- Double space.
- Missing verb in sentence. "need" makes sense here.
- Equal is a verb suitable for speaking of strings. For a final user, identical is more understandable.

* French translation
6 years ago
Alexander Bakker c2cb5a3044
Merge pull request #74 from alexbakker/feature-encrypted-andotp
Add support for importing encrypted andOTP backups
6 years ago
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