Commit Graph
64 Commits
Author SHA1 Message Date
Vincent Breitmoser 63774a0632 use autovalue for CryptoInputParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser 368528e9dd use autovalue for PgpSignEncryptData class 2017-05-25 15:39:48 +02:00
Vincent Breitmoser c91b7e377a simplify progress for key import operations 2017-05-21 04:15:41 +02:00
Vincent Breitmoser eb9d991ea9 add unit tests for insecure decrypt operations 2017-05-15 17:16:16 +02:00
Vincent Breitmoser c9f9ad0477 add test for opaque cv25519 subkey (which previously crashed) 2017-04-24 19:40:34 +02:00
Vincent Breitmoser c7d174c930 handle unknown key algorithms using opaque keys 2017-04-20 10:36:23 +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 2bc05a2cd5 focus all read access for key ring data into DatabaseInteractor methods 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
Dominik Schürmann b831cd5725 Update Robolectric to 3.2.2 2017-02-02 10:57:16 +01:00
Dominik Schürmann 962e570e91 Better handling of User ID corner cases 2017-01-26 22:55:37 +01:00
Arnaud Fontaine e6fe29a0ff Remove test not useful now 2017-01-04 15:38:29 +01:00
Arnaud Fontaine 05bfd6bc01 Support of OpenPGP card v3 2017-01-04 13:39:19 +01:00
Vincent Breitmoser 52b1016baa update OpenPgpSignatureResult to use enums 2016-11-21 16:05:42 +01:00
Dominik Schürmann ac1c20f961 Update build environment to SDK 24 2016-08-15 08:37:23 +02:00
Vincent Breitmoser dab4edb24e inputdataoperation: Only consider data MIME if Content-Type header is present 2016-07-24 15:13:43 +02:00
Alex Fong 614f46a630 Shifted duplicate method implementations from KeyRing to openpgp-api submodule 2016-05-15 23:26:09 +08:00
Andrea Torlaschi c942d8b2ff PgpSignEncryptOperation refactoring 2016-05-10 23:38:11 +02: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
Dominik Schürmann 0ef59e36ad Merge pull request #1816 from fiaxh/no_name_choose_email
Correctly handle keys only having an email address
2016-04-29 21:40:00 +02: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
fiaxh 6881754062 Better handle user_id sidecases while splitting 2016-04-12 13:30:43 +02:00
Vincent Breitmoser c917262957 get rid of code path for pin and notation data handling 2016-03-23 17:49:26 +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 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
Dominik Schürmann 79db5c0ebe Replace spongycastle with bouncycastle 2016-02-09 00:24:46 +01:00
Vincent Breitmoser 6a7652c0d7 performance: fix unit tests 2016-02-05 16:10:47 +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
Dominik Schürmann 6197870e24 Tests: Use ECC where possible 2016-01-03 23:10:31 +01:00
Vincent Breitmoser 89d1b6e4dc fix unit tests (IllegalStateException) 2015-11-16 00:05:02 +01:00
Vincent Breitmoser 8f41f56ca1 decrypt: add tests for skipping stripped and unsuitable decryption subkeys 2015-11-13 17:40:11 +01:00
Dominik Schürmann 7384fa7f2b Rename TemporaryStorageProvider to TemporaryFileProvider, use interface for db contract 2015-10-15 19:37:08 +02:00
Vincent Breitmoser 3bf653775b improve tests, get rid of some redundant checks 2015-10-08 19:55:28 +02:00
Vincent Breitmoser 81a462c2ac pgpdecryptverify: get rid of duplicate code path for binary signature verification 2015-10-08 19:54:50 +02:00
Vincent Breitmoser ac28b6bbac test: add tests for detached and clearsign signatures 2015-10-08 18:36:55 +02:00
Dominik Schürmann dfc396a44c Fix tests for min requirement of 2048 bits 2015-10-04 23:37:03 +02:00
Dominik Schürmann dfce5449c2 Raise min asymmetric key length for all ciphers to 2048 bit 2015-10-04 22:46:21 +02:00
Vincent Breitmoser 4f13dc4fc5 spongy: use version which doesn't skip bad signatures 2015-10-01 17:08:50 +02:00
Vincent Breitmoser f77a6a85ee mime: don't decrypt in mime parsing only test 2015-09-17 00:54:33 +02:00
Vincent Breitmoser 6624d1f830 mime: respect charset header (default to utf-8) 2015-09-16 19:54:57 +02:00
Vincent Breitmoser 326834fd58 mime: add logging to InputDataOperation 2015-09-15 23:06:15 +02:00
Vincent Breitmoser 3cd54581c3 mime: create more general InputDataOperation, which for now and does basic mime parsing 2015-09-15 03:02:05 +02:00
Vincent Breitmoser cb067f748b add test for signed binary data (#1507) 2015-09-10 21:38:37 +02:00