Commit Graph

313 Commits

Author SHA1 Message Date
Vincent Breitmoser
720f2dbef1 remember the specific security problems of keys and symmetric algos during decryption 2017-04-25 14:34:39 +02:00
Vincent Breitmoser
a380405c80 don't sync contacts on import if skipSave is enabled 2017-04-24 19:27:06 +02:00
Vincent Breitmoser
05e4cf1ab6 focus key deletion into KeyWritableRepository 2017-02-24 18:50:37 +01: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
2bc05a2cd5 focus all read access for key ring data into DatabaseInteractor methods 2017-02-24 18:04:55 +01:00
Vincent Breitmoser
623964701b get rid of direct query for blob from backup operation 2017-02-24 18:04:55 +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
Vincent Breitmoser
a9001b3b45 change "select allowed keys" into "request key permission" activity 2017-02-08 00:57:26 +01:00
Hari
28bf1a37a1 Added ascii armor option to the backup api 2017-01-29 22:14:54 +05:30
Hari
56cbfc0077 Added new log message for encryption using invalid key 2017-01-28 01:11:08 +05:30
Hari
9988afec1c Added allowed keys and checks for signing 2017-01-25 10:23:15 +05:30
Vincent Breitmoser
5268db3393 at least crash with better stack trace in ImportOperation 2017-01-14 14:09:58 +01:00
Dominik Schürmann
63244a113a Code formatting and package re-structuring 2017-01-05 13:56:09 +01:00
Arnaud Fontaine
2ed25ab8f3 Update RSA key size error for security tokens 2017-01-05 11:10:11 +01:00
Arnaud Fontaine
05bfd6bc01 Support of OpenPGP card v3 2017-01-04 13:39:19 +01:00
Dominik Schürmann
1bf4ccf67c Fix OOM bug in multi threaded key import, fixes #1960 2016-12-28 18:52:29 +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
cdef20601f ImportKeys: Avoid exception while downloading without saving 2016-08-19 22:35:42 +02:00
Andrea Torlaschi
7b7efa1a73 CloudSearch: Add error message when no source selected 2016-08-19 22:35:39 +02:00
Andrea Torlaschi
15b7845b16 ImportKeys: Get reference to canonicalized key without saving and refactoring (WIP) 2016-08-19 22:35:37 +02:00
Andrea Torlaschi
db1e8b60ca ImportKeys: Extract interface and refactoring
ImportKeys: Extract interface and refactoring
2016-08-19 22:35:34 +02:00
Vincent Breitmoser
dab4edb24e inputdataoperation: Only consider data MIME if Content-Type header is present 2016-07-24 15:13:43 +02:00
Vincent Breitmoser
5d5d2c3c36 refactor BackupOperation a bit, make more illegal states explicit 2016-05-17 21:22:50 +02:00
Vincent Breitmoser
1da8e4c1ed make unencrypted backup an explicit parameter 2016-05-17 20:59:07 +02:00
Dominik Schürmann
664386afec Revert "Remove non-encrypted backuping"
This reverts commit 5b87b64855.
2016-05-12 15:33:19 +03:00
Dominik Schürmann
5b87b64855 Remove non-encrypted backuping 2016-05-12 15:23:07 +03:00
Andrea Torlaschi
c942d8b2ff PgpSignEncryptOperation refactoring 2016-05-10 23:38:11 +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
a5a2335673 Added license to ChangeUnlockOperation 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
dfcde9242d Removed unrequired code, standardized terms used. 2016-05-05 07:57:01 +08:00
Alex Fong
b490be9c1c Refactored code to use functions already present in code, reduced liberties taken when modifying functions.
Todo:
Fix indentation for error messages
2016-05-05 07:56:26 +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
Dominik Schürmann
adeb1bd3f8 Merge pull request #1819 from 007durgesh219/Issue#1817
Fix Crash when no encryption subkey is available, Issue #1817
2016-04-29 23:19:15 +02:00
Dominik Schürmann
ed82c362e6 Merge branch 'master' of github.com:open-keychain/open-keychain 2016-04-18 07:31:38 +02:00
Dominik Schürmann
15ed1c9a63 Fix delete_fail 2016-04-18 07:31:31 +02:00
Nikita Mikhailov
163aef4c6b Update obsolete Nfc class prefixes 2016-04-16 11:13:51 +06:00
Durgesh
8f88efe13f Fix Crash when no encryption subkey is available, Issue #1817
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-04-14 11:05:55 +05:30
Vincent Breitmoser
c917262957 get rid of code path for pin and notation data handling 2016-03-23 17:49:26 +01:00
Andrea Torlaschi
bcef5b6692 Set filename after decryption 2016-03-05 13:24:18 +01:00
Dominik Schürmann
a2dcb579ff Add backup API 2016-03-01 00:22:19 +01:00
Vincent Breitmoser
03e695c650 ditch isLikelyText flag, set mimeType to text/plain in that case 2016-02-23 15:01:22 +01:00
Vincent Breitmoser
b9abf43153 move CharsetVerifier to utils package 2016-02-23 14:14:12 +01:00
Vincent Breitmoser
a0c90f0ad5 documentation and cleanup 2016-02-22 23:38:02 +01:00
Vincent Breitmoser
daf243082c externalize CharsetVerifier, add looksLikeText to OpenPgpMetadata object 2016-02-22 21:58:31 +01:00
Vincent Breitmoser
bdae99c084 mime: try to decode with given charset or utf-8 while file is read 2016-02-22 17:03:24 +01:00
Vincent Breitmoser
da6dfb57a0 Merge branch 'master' into performance 2016-02-10 17:36:02 +01:00