Commit Graph

548 Commits

Author SHA1 Message Date
Vincent Breitmoser
2124a4598a DatabaseInteractor -> KeyRepository 2017-02-24 18:24:11 +01:00
Vincent Breitmoser
c7e01926e1 add LocalKeyStorage, don't store public keys larger than 50kb in database 2017-02-24 18:06:47 +01:00
Vincent Breitmoser
0277ba1afa replace DatabaseReadWriteInteractor with DatabaseInteractor where possible 2017-02-24 18:04:54 +01:00
Vincent Breitmoser
aef6e6614e extract DatabaseReadWriteInteractor 2017-02-24 18:04:54 +01:00
Vincent Breitmoser
d577257bd5 rename ProviderHelper -> DatabaseInteractor 2017-02-24 18:04:54 +01:00
Hari
28bf1a37a1 Added ascii armor option to the backup api 2017-01-29 22:14:54 +05:30
Dominik Schürmann
960ebfed0c move NetworkReceiver 2017-01-05 13:59:26 +01:00
Dominik Schürmann
63244a113a Code formatting and package re-structuring 2017-01-05 13:56:09 +01:00
Dominik Schürmann
0dbe067ade Resolve merge conflicts 2016-10-27 19:03:37 +02:00
Dominik Schürmann
911fa020c2 Preparations for support of onion keyservers. Refactoring of Keyserver and proxy related classes 2016-10-27 16:19:43 +02:00
Andrea Torlaschi
756f427f19 ImportKeys: Refactoring
- Avoid instanceof and duplicated code
2016-08-19 22:35:58 +02:00
Andrea Torlaschi
15b7845b16 ImportKeys: Get reference to canonicalized key without saving and refactoring (WIP) 2016-08-19 22:35:37 +02:00
Vincent Breitmoser
1da8e4c1ed make unencrypted backup an explicit parameter 2016-05-17 20:59:07 +02:00
Dominik Schürmann
7dd5e22353 Merge branch 'master' into backup-api
Conflicts:
	OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
	extern/openpgp-api-lib
2016-05-07 12:01:16 +03:00
Alex Fong
bc3aa44b22 Refactored to reduce coupling between ChangeUnlockParcel and SaveKeyringParcel 2016-05-05 07:57:20 +08:00
Alex Fong
f43edcdd7a Refactoring: Removed PassphraseChangeParcel and placed its functionality into ChangeUnlockParcel. 2016-05-05 07:57:20 +08:00
Alex Fong
525788359c (WIP) Change password when key is stripped #1692
Approach:
Find the first unstripped secret key and use it for passphrase verification
All unstripped keys will have their passphrase changed to new passphrase, if possible.

Current Progress:
Changing the passphrase of keys works fine.
Refactoring to combine "modifySecretKeyring" and newly added method, "modifyKeyRingPassword"
may be possible if given the go-ahead.
2016-05-04 22:36:23 +08:00
Vincent Breitmoser
8e4d68c55a api: allow caching of sessionKey in OpenPgpDecryptResult 2016-04-29 15:46:17 +02:00
Nikita Mikhailov
163aef4c6b Update obsolete Nfc class prefixes 2016-04-16 11:13:51 +06:00
Nikita Mikhailov
28a352a288 OTG: Rename smartcard -> security token 2016-04-15 02:02:11 +06:00
Nikita Mikhailov
38a1c2d3ab OTG: refactor, change nfc prefix to smartcard 2016-04-14 22:48:01 +06:00
Adithya Abraham Philip
4b6df7d17c change sync interval on change in code 2016-03-24 22:10:47 +05:30
Vincent
f005bbad96 Merge pull request #1785 from advaita13/wifi-only-fix
Sync only when unmetered internet is available #1670
2016-03-24 14:26:03 +01:00
Vincent Breitmoser
c917262957 get rid of code path for pin and notation data handling 2016-03-23 17:49:26 +01:00
Advaita
cab3fa7874 Final commit
All changes included

Improvements

-Reformatted code wherever required
-Only active wifi connections trigger events
-Improve sync reliability
-Removed extra permission

Minor Changes

-Refactored 2 variables for easier readbility
-Wifi-Only-Sync is now enabled by default
2016-03-23 20:54:10 +05:30
Advaita
e422b3af04 Update ContactSyncAdapterService.java 2016-03-03 01:52:21 +05:30
Dominik Schürmann
a2dcb579ff Add backup API 2016-03-01 00:22:19 +01:00
Dominik Schürmann
c22e2baa79 Fix SecurityException on Android 6 due to remove contacts on disabled sync 2016-02-09 21:14:07 +01:00
Adithya Abraham Philip
d2cf56f42e delete linked contacts on turning off contact sync 2016-02-06 02:31:44 +05:30
Adithya Abraham Philip
160362d2bf prevent rare KeyserverSyncAdapterService crash 2016-01-27 23:58:55 +05:30
Vincent Breitmoser
e66c27c081 passphrasecache: update defaults, add "forever" setting 2016-01-11 17:30:03 +01:00
Dominik Schürmann
0fd5b45df9 Use more generic 'Security Token' where possible, add sutitle to create key what tokens are supported 2016-01-10 17:17:57 +01:00
Vincent Breitmoser
f2ef65ac37 add method to skip caching 2016-01-06 16:25:52 +01:00
Vincent Breitmoser
7eafe5d1e8 inline-ttl: support "screen off" in preference 2016-01-06 16:25:50 +01:00
Vincent Breitmoser
52ab77d2a4 passcache: add support for clear on screen lock (ttl == 0) 2016-01-06 16:25:48 +01:00
Vincent Breitmoser
a75b26be66 inline-ttl: use ttl preference in ttl spinner 2016-01-06 16:24:13 +01:00
Vincent Breitmoser
1754a88ac3 inline-ttl: create ttl choice customization setting activity 2016-01-06 16:24:12 +01:00
Vincent Breitmoser
840d57bf3b passphraseactivity: add inline spinner to password dialog 2016-01-06 16:24:07 +01:00
Dominik Schürmann
35e16b75b2 Follow notification style guidelines, dismiss permission notification on click 2015-12-22 01:46:11 +01:00
Dominik Schürmann
6c25cb1927 Merge branch 'master' of github.com:open-keychain/open-keychain 2015-12-21 20:32:02 +01:00
Dominik Schürmann
e7c9be9556 Make ContactHelper less static 2015-12-21 20:31:23 +01:00
Adithya Abraham Philip
7d05a22ae5 fixed key update preference not turning off 2015-12-21 01:28:28 +05:30
Adithya Abraham Philip
f29280bbb2 added Facebook links support, reworked Preferences 2015-12-06 00:46:52 +05:30
Dominik Schürmann
c4f11c4535 Fix strings, thanks to Alain-Olivier 2015-11-23 23:39:56 +01:00
Dominik Schürmann
dfed60f442 re-enable contact sync by default 2015-11-23 23:27:01 +01:00
Dominik Schürmann
eda53d42de Disable contact sync by default on Android >= 6 2015-11-23 11:43:44 +01:00
Dominik Schürmann
c5bcbce28f Show notification when READ_CONTACTS permission is denied in sync service, hide linked contact card if permission is denied 2015-11-23 09:06:12 +01:00
Vincent Breitmoser
3ca8af060b Merge branch 'master' of github.com:open-keychain/open-keychain 2015-11-04 20:24:11 +01:00
Vincent Breitmoser
8feed0b097 bench: add benchmark operation for testing 2015-11-04 19:09:51 +01:00
Adithya Abraham Philip
4284aac0aa changed KeyserverSyncAdapterService to work with START_REDELIVER_INTENT 2015-10-31 00:21:13 +05:30