Commit Graph

570 Commits

Author SHA1 Message Date
Vincent Breitmoser
b8d01bf9d2 refactor keyserver class structure, use AutoValue for ParcelableHkpKeyserver 2017-07-24 22:08:36 +02:00
Vincent Breitmoser
8551440316 add EdDSA support 2017-06-16 18:29:45 +02:00
Vincent Breitmoser
c4f67f434c fix misbehavior in ImportKeyringParcel 2017-06-12 20:07:50 +02:00
Vincent Breitmoser
27f6f4ef6c use autovalue for ParcelableKeyRing 2017-05-29 14:20:25 +02:00
Vincent Breitmoser
9d485dfe9f use autovalue for InputDataParcel and SignEncryptParcel 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
040a5a2006 use autovalue for BackupKeyringParcel 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
c4a4fdadff suppress mutable warnings for primitive arrays (we don't wanna wrap those) 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
d58f1bd225 use autovalue for SaveKeyringParcel 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
147e4dbee7 use autovalue for SubkeyAdd and SubkeyChange 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
d3357ccf5c use autovalue for ChangeUnlockParcel 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
c444ccb781 use autovalue for ConsolidateInputParcel 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
68ca88c87d use autovalue for DeleteKeyringParcel 2017-05-25 15:42:26 +02:00
Vincent Breitmoser
ef366173d0 use autovalue for ImportKeyringParcel 2017-05-25 15:42:26 +02:00
Vincent Breitmoser
0095df6d89 use autovalue for PromoteKeyringParcel 2017-05-25 15:42:25 +02:00
Vincent Breitmoser
820a308ba0 use autovalue for RevokeKeyringParcel 2017-05-25 15:42:25 +02:00
Vincent Breitmoser
81bceb9e16 use autovalue for BenchmarkInputParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
f1cf759e0a use autovalue for UploadKeyringParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
53dcb4102d use autovalue for CertifyActionsParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
63774a0632 use autovalue for CryptoInputParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
add9bf8973 use byte[] for expected fingerprint 2017-05-21 04:15:47 +02:00
Vincent Breitmoser
f72b877849 set cache notification to low priority 2017-05-17 01:15:24 +02:00
Vincent Breitmoser
43757bf345 actually stop PassphraseCacheService when it's empty 2017-05-01 00:58:27 +02:00
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