Commit graph

123 commits

Author SHA1 Message Date
Vincent Breitmoser
ff8a6f0100 Don't care if we get UI_REQUIRED state
GET_SIGN_KEY_ID is a valid call without registration in newer
OpenKeychain. For older versions, it doesn't matter since we
get the registration dialog in a pending intent that will be
called as usual.
2018-04-04 14:06:51 +02:00
Vincent Breitmoser
f0c438e2d4 Cache activity result if provider isn't ready yet 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
6bf860af7d Support key selection info mechanism 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
764a98db32 don't save state individually for OpenPgpKeyPreference 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
8472d64731 Fix read of incorrect value while parceling 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
ccf98177e5 use OpenPgpApiManager to handle service connection in OpenPgpKeyPreference 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
e4aa00d8a7 Make OpenPgpApiManager more testable, and fix related unit tests 2018-04-02 17:42:03 +02:00
Vincent Breitmoser
0c2f9bfb31 Slight improvements to OpenPgp api connection state handling 2018-04-02 17:36:39 +02:00
Vincent Breitmoser
fedf35815f Redo handling of user interaction pending intent 2018-04-01 13:49:28 +02:00
Vincent Breitmoser
ee16a83ec8 move OpenPgpApiManager into openpgp-api lib 2018-04-01 13:49:28 +02:00
Vincent Breitmoser
732993b4ad Small ui improvements to OpenPGP app select 2018-03-30 12:35:14 +02:00
Vincent Breitmoser
382d46a7cb Handle missing OpenPGP app more gracefully 2018-03-30 12:35:14 +02:00
Vincent Breitmoser
909e9fbdd8 Redesign end-to-end account settings 2018-03-30 12:34:49 +02:00
Vincent Breitmoser
88c92feaf3 Support parsing of Autocrypt-Gossip headers 2018-01-29 23:59:31 +01:00
Joshua Nelson
a2ad2dd10b Removed unthrown exceptions from method signatures (#2913)
For OAuth2TokenProvider.getToken(), changed exception thrown to
match method signature (AssertionError -> AuthenticationFailedException)
2017-12-27 12:28:27 +00:00
Vincent Breitmoser
6de7f9dbed Remove pgp clearsign data during view extraction 2017-09-13 14:21:34 +02:00
Vincent Breitmoser
96c8396422 handle incompatible openpgp api version more specifically 2017-09-01 16:19:14 +02:00
Vincent Breitmoser
d8f7b8308b query autocrypt status for crypto status icon 2017-09-01 16:19:14 +02:00
Vincent Breitmoser
cfb7a53cd4 obtain crypto status through dry-run signencrypt call 2017-08-31 22:48:12 +02:00
Vincent Breitmoser
0fe68498e0 change method name for less redundancy 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
515fc21c77 update parameter names, and handle prefer-encrypt=mutual 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
6acc2a17bb update OpenPgpApi to version 12 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
18b09b3bee handle override flag from service, and indicate support for it 2017-04-29 22:42:06 +02:00
Vincent Breitmoser
8a4fd60165 show detail button in warning dialog, if pending intent is available 2017-04-29 22:42:06 +02:00
Vincent Breitmoser
46046f8926 openpgp-setup: move crypto provider to global settings 2017-02-08 03:56:01 +01:00
Sebastian Kürten
f4b3ef3b41 Fix a few Javadoc typos 2017-02-06 08:48:24 +01:00
Vincent Breitmoser
407d6d7ec9 incorporate feedback 2017-01-23 13:18:44 +01:00
Vincent Breitmoser
164f38c5b0 display apg in list of choices, show warning dialog when selected 2017-01-23 13:18:44 +01:00
Vincent Breitmoser
0644fa0481 more tests for RecipientPresenter 2017-01-10 15:12:44 +01:00
cketti
a59aea200f Merge pull request #1804 from sedrubal/swipe-to-refresh
Replace Android-PullToRefresh with android.support SwipeRefreshLayout
2016-12-12 06:32:08 +01:00
Vincent Breitmoser
0ecbf441c1 handle attachments with CHILD_PART_CONTAINS_DATA data location (message/rfc822) 2016-12-11 02:33:56 +01:00
Vincent Breitmoser
de13e10be1 update OpenPgpSignatureResult to use enums 2016-11-23 16:08:25 +01:00
sedrubal
08daf2dffb
Replace Android-PullToRefresh with android.support SwipeRefreshLayout 2016-11-20 07:55:29 +01:00
Jan Berkel
8b1c768483 Inject config from properties file 2016-10-19 12:35:28 +02:00
Vincent Breitmoser
e19fd5e5fc experimental update to openpgp api for cached session keys 2016-07-18 15:38:21 +02:00
Vincent Breitmoser
7cb6fa102f stream performance optimizations 2016-07-06 21:48:38 +02:00
Vincent Breitmoser
ae9ee68f53 openpgpapi: extract closeLoudly 2016-06-30 11:11:15 +02:00
Vincent Breitmoser
837aa70486 messageview: match signature user id with sender address 2016-06-30 11:08:44 +02:00
Vincent Breitmoser
0df44a1457 messageview: strip pgp markers for partially downloaded clearsigned messages before view 2016-06-30 11:08:44 +02:00
Vincent Breitmoser
68e31a985f messageview: cancel operation when fragment is destroyed 2016-06-30 11:08:44 +02:00
Vincent Breitmoser
9b1e51c559 messageview: draw progress bar while crypto is processing 2016-06-30 11:08:44 +02:00
Vincent Breitmoser
04e17564a8 messageview: add logic for display of crypto progress 2016-06-30 10:49:04 +02:00
Vincent Breitmoser
0402eda968 messageview: use OpenPgpDataSink and -Source for threads (contains api-lib update) 2016-06-30 10:49:04 +02:00
cketti
4b22434a19 Remove unessential files from openpgp-api library 2016-04-22 04:33:24 +02:00
cketti
4a75a7f839 Merge pull request #1170
Android Lint fixes
2016-03-18 04:07:05 +01:00
Philip Whitehouse
0f929514ff More lint fixes 2016-03-10 20:05:31 +00:00
Vincent Breitmoser
69c0fc54e3 compose: flag and correctly handle opportunistic encryption 2016-03-10 18:54:44 +01:00
Vincent Breitmoser
b09d5bd2c5 compose: get rid of key references for crypto status, mail addresses are a perfect identifier 2016-03-02 18:21:58 +01:00
Vincent Breitmoser
eac65df806 compose: improve handling if crypto provider is not available 2016-02-14 02:38:07 +01:00
Vincent Breitmoser
6465cbe8be anchor pgp inline message matching to beginning of message 2016-02-10 15:28:09 +01:00