Commit Graph

3581 Commits

Author SHA1 Message Date
Dominik Schürmann
73ce6fc7bb Passthrough of data Intent in methods of ApiPendingIntentFactory instead of constructor 2016-02-23 16:06:54 +01:00
Vincent
fd24acbf0e Merge pull request #1727 from open-keychain/mime-fallback
try to guess if data is text or not
2016-02-23 16:01:13 +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
8714a5eac4 add test for CharsetVerifier 2016-02-23 14:17:00 +01:00
Vincent Breitmoser
b9abf43153 move CharsetVerifier to utils package 2016-02-23 14:14:12 +01:00
unyoungwax
19967e2350 Remove AspectRatioImageView 2016-02-23 14:41:54 +08:00
unyoungwax
b0b6adc58b Resize QR code properly in landscape orientation 2016-02-23 14:41:26 +08:00
Vincent Breitmoser
a0c90f0ad5 documentation and cleanup 2016-02-22 23:38:02 +01:00
Vincent Breitmoser
4df63ccdeb displaytext: add "View Log" option, move "Copy to clipboard" into overflow menu 2016-02-22 22:22:45 +01:00
Vincent Breitmoser
f61de278b4 decrypt: always show "View in OpenKeychain" as intent chooser option iff isLikelyText 2016-02-22 22:22:18 +01:00
Vincent Breitmoser
19930bdd5c decryptVerify: use CharsetVerifier to guess whether data is binary or not 2016-02-22 21:59:57 +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
Dominik Schürmann
f54f12c48c Extend documentation, proper method naming, use of deprecated method annotation 2016-02-22 15:19:06 +01:00
Dominik Schürmann
6379ce1faa Use FLAG_IMMUTABLE 2016-02-22 15:06:45 +01:00
Dominik Schürmann
d1eacf9b27 Move PendingIntent creation into factory 2016-02-22 15:06:45 +01:00
Dominik Schürmann
15488c5445 Split remote methods from activities for better seperation 2016-02-22 15:06:45 +01:00
Dominik Schürmann
eef27a544f Extract service parts from SecurityTokenOperationActivity 2016-02-22 15:06:45 +01:00
Dominik Schürmann
c9018e1844 Use BC provider as default one 2016-02-21 17:23:25 +01:00
Dominik Schürmann
bb997920f5 Split RemoteServiceActivity into multiple activities 2016-02-15 13:25:55 +01:00
Dominik Schürmann
0e22813f03 Fix landscape orientation 2016-02-10 19:09:55 +01:00
Dominik Schürmann
0feb4d074c Use non-breaking spaces for backup code MaskedEditText 2016-02-10 18:48:27 +01:00
Dominik Schürmann
a2ea509f06 Backup format v2: redesign restore dialog 2016-02-10 18:48:27 +01:00
Dominik Schürmann
713f3076f4 Backup format v2: redesigned backup code fragment with masked edit text 2016-02-10 18:48:27 +01:00
Dominik Schürmann
923b543e4d Add masked-edittext library 2016-02-10 18:48:27 +01:00
Vincent
2eac4ebb95 Merge pull request #1708 from open-keychain/performance
performance improvements
2016-02-10 18:39:55 +01:00
Vincent Breitmoser
da6dfb57a0 Merge branch 'master' into performance 2016-02-10 17:36:02 +01:00
Vincent Breitmoser
01b165ea88 performance: add license headers and some documentation 2016-02-10 17:08:00 +01:00
Theo Franzén
0191cf92db Better transaction animation 2016-02-10 15:28:59 +01:00
Dominik Schürmann
751298a4d8 Fix EUR symbol 2016-02-10 12:34:44 +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
Dominik Schürmann
b44f73c819 Fix jacoco task 2016-02-09 21:02:43 +01:00
Dominik Schürmann
2bf9634fd6 Add donation fragment 2016-02-09 20:48:24 +01:00
Dominik Schürmann
08393bc5c3 Exclude robolectric's transitive bouncycastle dependency 2016-02-09 01:00:40 +01:00
Dominik Schürmann
fa2958c65a Remove leftovers from spongycastle 2016-02-09 00:34:16 +01:00
Dominik Schürmann
79db5c0ebe Replace spongycastle with bouncycastle 2016-02-09 00:24:46 +01:00
Adithya Abraham Philip
d2cf56f42e delete linked contacts on turning off contact sync 2016-02-06 02:31:44 +05:30
Vincent Breitmoser
3bf6a00250 performance: use more canonical hashCode implementation 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
6a7652c0d7 performance: fix unit tests 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
b1ea126142 performance: avoid expensive getSecretKeyType call, use cached where possible 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
e3b8cea04d performance: cache session keys per compatible S2K configuration 2016-02-05 16:10:47 +01:00
Dominik Schürmann
cbf6f15d91 Fix number keypad preference 2016-02-04 12:50:21 +01:00
Vincent Breitmoser
48dd3d09e6 import: handle FileNotFoundException (fixes #1688) 2016-02-01 15:24:48 +01:00
Adithya Abraham Philip
160362d2bf prevent rare KeyserverSyncAdapterService crash 2016-01-27 23:58:55 +05:30
Dominik Schürmann
025d2c5d29 Merge pull request #1683 from eighthave/master
allow "panic button" apps to clear all passphrases
2016-01-26 19:58:08 +01:00
Vincent
a5005cbd6b Merge pull request #1693 from kbsriram/subkey-revocation-fix
Always revoke subkeys with a revocation signature.
2016-01-20 18:39:26 +01:00
Dominik Schürmann
09b80e0368 Merge branch 'master' of github.com:open-keychain/open-keychain 2016-01-20 12:45:50 +01:00
Dominik Schürmann
681a201a69 No PendingIntent for RESULT_NO_SIGNATURE, RESULT_INVALID_SIGNATURE 2016-01-20 12:45:44 +01:00
KB Sriram
36bffc3ef5 Always revoke subkeys with a revocation signature.
Unlike UID revocations which are "reversible" by newer UID
self-signatures, a subkey revocation should be "permanent" even if
followed by a newer self-signature.

The RFC is ambiguous on this, but this is the convention used by (e.g.)
GnuPG. The rationale for this behaviour is available as comments within
the GnuPG source.

UID signatures:
50c98c7ed6/g10/getkey.c (L1668-L1674)
Subkey signatures:
50c98c7ed6/g10/getkey.c (L1990-L1997)
2016-01-15 15:28:40 -08:00
Theo Franzén
25afe7bc86 Handle not installed PGP applet 2016-01-15 17:14:21 +01:00