Commit graph

655 commits

Author SHA1 Message Date
RichyHBM
41ca299af6 Merge branch 'master' into google-backups
# Conflicts:
#	app/src/main/java/org/shadowice/flocke/andotp/Activities/SettingsActivity.java
#	app/src/main/java/org/shadowice/flocke/andotp/Utilities/DatabaseHelper.java
#	app/src/main/res/values/settings.xml
#	app/src/main/res/values/strings_settings.xml
#	app/src/main/res/xml/preferences_special.xml
2018-01-11 13:58:40 +00:00
Jakob Nixdorf
b529f009be
Merge branch 'custom-encryption'
Closes #94
2018-01-11 13:18:54 +01:00
Jakob Nixdorf
0c0fb0f2c7
Update first run dialog 2018-01-11 13:14:40 +01:00
RichyHBM
b855a47d9f Add mixer and tumblr 2018-01-10 22:47:17 +00:00
Jakob Nixdorf
a2f8a95552
Catch some more exceptions in KeyStoreHelper 2018-01-10 22:40:41 +01:00
Jakob Nixdorf
c16e3db88b
Prevent Settings from crashing with a null encryption key 2018-01-10 07:14:36 +01:00
Jakob Nixdorf
1e21c36ecc
Simplify the exception catching in KeyStoreHelper 2018-01-10 07:12:02 +01:00
RichyHBM
d9fb3266bc Add couple more thumbnails 2018-01-09 19:24:35 +00:00
Jakob Nixdorf
c0d05c8e2c
Unify PIN and password preference 2018-01-08 11:25:30 +01:00
Jakob Nixdorf
b1cd0fb68a
Enforce a minimum password and PIN length
Closes #107
2018-01-08 11:01:04 +01:00
Jakob Nixdorf
0af94331cb
Add an additional unlock button to the AuthenticateActivity
Closes #87
2018-01-08 10:38:17 +01:00
Jakob Nixdorf
29dedcc57f
Use Dialogs instead of Toasts for some errors
So the user doesn't just miss them as he might with Toasts
2018-01-08 10:14:25 +01:00
RichyHBM
c9bc89a38d Add myself as a developer 2018-01-07 19:43:31 +00:00
RichyHBM
5415217407 Add hackerone and seafile 2018-01-05 20:38:42 +00:00
RichyHBM
984b180fba Only update if user has enabled 2018-01-05 20:10:17 +00:00
RichyHBM
2bf20ce7f1 Also notify of backup on shared prefs change 2018-01-05 19:55:37 +00:00
RichyHBM
1daa255397 Add backup agent 2018-01-05 19:53:04 +00:00
Jakob Nixdorf
d32f0ab4c0
Special features: clear KeyStore from the settings 2018-01-04 15:34:48 +01:00
RichyHBM
c72a183dcb Remove gradient from vector images 2018-01-04 13:58:54 +00:00
Jakob Nixdorf
a1a6619835
Improve error message in case of KeyStore problems 2018-01-04 14:50:19 +01:00
Jakob Nixdorf
d6f8de9a01
Don't crash if the encryption key is empty (e.g. if the KeyStore has problems) 2018-01-04 14:37:13 +01:00
Jakob Nixdorf
e1e6807d0d
Don't fail the backup if the source does not exist (e.g. if no entries have been added) 2018-01-04 14:36:39 +01:00
Jakob Nixdorf
bcc82f9d5b
Move a lot of the static constants to the Constants class 2018-01-04 14:35:08 +01:00
Jakob Nixdorf
a3a285bebc
Fix crash in CredentialsPreference 2018-01-04 12:34:59 +01:00
Jakob Nixdorf
5059abf2d0
Automatically show and hide keyboard in CredentialsPreference 2018-01-03 16:21:29 +01:00
Jakob Nixdorf
a20dc326bc
Try the encryption change in the SettingsActivity and restore backup if it fails 2018-01-03 13:23:13 +01:00
Jakob Nixdorf
9374ef9ab9
Update Telegram details 2018-01-03 08:33:12 +01:00
Jakob Nixdorf
64fbdd93d3
Update Telegram details 2018-01-03 08:32:50 +01:00
Jakob Nixdorf
15f221f4b3
Simplify some methods in the Settings helper 2018-01-03 07:04:36 +01:00
Jakob Nixdorf
293fa70994
Remove some outdated code 2018-01-03 06:25:32 +01:00
Jakob Nixdorf
5ba3be0b95
Encryption only changes on changing credentials if set to password-based 2018-01-03 06:21:19 +01:00
RichyHBM
ccbe2ef19c Move thumbnail toggle into the size selector 2018-01-02 22:08:16 +00:00
Jakob Nixdorf
3565c899b8
Custom CredentialsPreference and better handling of encryption changes 2018-01-02 22:00:53 +01:00
Daniel Weigl
052d72b2dd implement settings for formatting (none, 2, 3) 2018-01-02 19:10:54 +01:00
Jakob Nixdorf
fc67640730
Better description for re-authentication 2018-01-02 14:47:12 +01:00
Jakob Nixdorf
13db26f377
Show a generic error if the encryption key is empty 2018-01-02 14:45:00 +01:00
Jakob Nixdorf
bd12b5a17f
Add some checks to prevent crashes when the encryption key is not set 2018-01-02 14:07:40 +01:00
Jakob Nixdorf
2b74b9d6f7
Only load entries if the encryption key is set 2018-01-02 13:50:28 +01:00
Jakob Nixdorf
745676b427
Block empty passwords 2018-01-02 13:49:05 +01:00
RichyHBM
09f0b0d6c0 Add email, nintendo and synology 2018-01-01 18:52:51 +00:00
RichyHBM
1f60124013 Add thumbnails for binance, bittrex, blockchaininfo, iconomi, kucoin, liqui 2017-12-31 13:30:53 +00:00
Jakob Nixdorf
f2e6f57725
Add some safeguard when changing passwords and encryption
We still need some more to prevent any mistakes
2017-12-30 08:40:57 +01:00
Jakob Nixdorf
c46167bfe7
A little bit of refactoring 2017-12-30 08:17:08 +01:00
Jakob Nixdorf
04a511d3f4
Add password-based encryption of the database 2017-12-29 16:58:47 +01:00
Jakob Nixdorf
d68798e69a
Refactor some functions in more appropriate classes 2017-12-29 14:11:40 +01:00
Jakob Nixdorf
6612095e8f
Pass the seed from the AuthenticatActivity to the caller 2017-12-29 12:30:00 +01:00
Jakob Nixdorf
1f4b46e89a
Use random iterations to make PBKDF2 a little more secure 2017-12-29 12:08:00 +01:00
Jakob Nixdorf
ded32a7090
Use PBKDF2 to store and verify the credentials 2017-12-29 11:30:13 +01:00
Daniel Weigl
69a2c5b8fb for copy/paste, use the unformatted representation 2017-12-28 15:56:59 +01:00
Daniel Weigl
57b18516a1 split token with a space every three letters 2017-12-28 15:49:46 +01:00