Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser 365cebdc72 extract sweetspot activity into separate module 2018-11-20 16:33:12 +01:00
Vincent Breitmoser e36aab6a97 update sweetspot data 2018-11-20 16:19:43 +01:00
Vincent Breitmoser 871621de73 add unit tests for key creation and s2k 2018-10-30 14:58:19 +01:00
Vincent Breitmoser 85c058fe1d fix secret key export compatibility with gnupg 2018-10-30 14:24:28 +01:00
Vincent Breitmoser abf331ddce add unit test for encryption key selection 2018-10-22 21:02:31 +02:00
Vincent Breitmoser 4dfe32120e fix encryption key selection (fixes #2403) 2018-10-22 21:01:54 +02:00
Vincent Breitmoser 2cc22c6b65 Remove experimental Linked Identities feature 2018-10-22 12:49:52 +02:00
Vincent Breitmoser 7e5a153a04 fix AuthenticationOperationTest 2018-10-02 16:43:28 +02:00
Vincent BreitmoserandGitHub c765bef79d Merge pull request #2399 from koppa/enter_confirm
PassPhraseDialog: confirm password on enter key
2018-10-02 16:14:43 +02:00
Vincent BreitmoserandGitHub ded1203ec8 Merge pull request #2400 from open-keychain/test_auth_key_selection
Add a test for authentication subkey selection
2018-10-02 16:13:02 +02:00
Vincent BreitmoserandGitHub 9bd53e48f8 Merge pull request #2397 from open-keychain/effective-authkey
Use specialized query exclusively to select authentication key
2018-10-02 16:11:34 +02:00
Vincent Breitmoser 400db49e75 Use specialized query exclusively to select authentication key 2018-10-01 21:36:01 +02:00
Vincent BreitmoserandGitHub cc64cf404c Merge pull request #2393 from wiktor-k/xmpp-uri
Fix saving XMPP URIs in phone Contact Book
2018-09-13 10:40:43 +02:00
Vincent BreitmoserandGitHub e6be72d3ec Merge pull request #2391 from open-keychain/update_gradle_wrapper
Update gradle wrapper to 4.9
2018-08-20 13:56:32 +02:00
Vincent BreitmoserandGitHub 9b57c3f33c Merge pull request #2389 from open-keychain/tests_static_password
WIP: Use static passphrases in tests
2018-08-09 09:40:24 +02:00
Vincent BreitmoserandGitHub 2a26bc601b Merge pull request #2390 from open-keychain/update_build_tools_gradle
Update android plugin for gradle
2018-08-09 09:37:21 +02:00
Vincent BreitmoserandGitHub 5d28cef81a Merge pull request #2388 from open-keychain/view_key_share_key
Add key sharing buttons to key view
2018-08-06 16:41:54 +02:00
Vincent BreitmoserandGitHub 83f5f557f0 Merge pull request #2384 from open-keychain/future-subkeys
Support future subkeys
2018-07-27 13:31:07 +02:00
Vincent Breitmoser 0943bab279 use mapAllRows throughout KeyRepository 2018-07-27 11:17:18 +02:00
Vincent Breitmoser cf5e643f38 notify on secret key change as well 2018-07-27 11:17:18 +02:00
Vincent Breitmoser fe387ca4e1 overhaul advanced subkeys tab 2018-07-27 11:17:18 +02:00
Vincent Breitmoser e08bf89e0f show subkeys as not yet valid in the list 2018-07-27 10:54:36 +02:00
Vincent Breitmoser e2505dd308 support encryption subkeys with future signature dates 2018-07-27 10:54:36 +02:00
Vincent Breitmoser 48383211c3 clean up remnants of KeychainContract 2018-07-27 10:54:36 +02:00
Vincent Breitmoser b79572d17f fix subkeys query (again) 2018-07-24 20:03:02 +02:00
Vincent Breitmoser c17f43f51c add comment about empty migration 2018-07-24 16:47:29 +02:00
Vincent Breitmoser 2e6daf327c keep database version at 31 (for arne) 2018-07-24 15:56:38 +02:00
Vincent Breitmoser ecf2c4500f don't use * in SELECT on keys table! column order might change during migrations 2018-07-24 15:56:38 +02:00
Vincent Breitmoser 5785a713cb Revert "Set expiry to NULL where it was 0L, hopefully fixing migration issues"
This reverts commit c8f730ced8.
2018-07-24 15:56:38 +02:00
Vincent Breitmoser c8f730ced8 Set expiry to NULL where it was 0L, hopefully fixing migration issues 2018-07-24 14:00:21 +02:00
Vincent Breitmoser df204daece fix key search when launched from keyserver uri 2018-07-22 20:56:24 +02:00
Vincent Breitmoser 3a7c5813e4 fix NPE during tests 2018-07-20 16:26:52 +02:00
Vincent Breitmoser 71ad44ea7c more robustly re-schedule key sync 2018-07-19 11:43:27 +02:00
Vincent Breitmoser e21a46fc07 More consistent analytics consent dialog behavior 2018-07-19 10:37:09 +02:00
Vincent Breitmoser 2e7fca846e never enable analytics if Tor is enabled 2018-07-19 10:37:09 +02:00
Vincent Breitmoser e62cfd0185 fix expiry bug in autocrypt key retrieval 2018-07-19 10:37:09 +02:00
Vincent Breitmoser cdb3960fa1 remove unused ContentResolver field from KeyRepository 2018-07-18 17:10:01 +02:00
Vincent Breitmoser 192d87d58f fix crash in replaceDefaultKeyserverWithUbuntu method 2018-07-18 16:11:42 +02:00
Vincent Breitmoser fb283c03f3 fix key selection in RemoteSelectIdentityKeyActivity 2018-07-18 16:06:43 +02:00
Vincent Breitmoser a4b1751da4 Don't try to lock screen orientation in SecurityTokenOperationActivity on Android 8.0 2018-07-18 16:01:53 +02:00
Vincent Breitmoser 4231279aba use fixed 48dp size for launcher icon in dialogs 2018-07-18 14:03:39 +02:00
Vincent Breitmoser f9557cca37 Don't try to delete contacts if we don't have permission anymore 2018-07-18 13:38:34 +02:00
Vincent Breitmoser 22f4eb3e44 insert api app when key is selected in SelectSignKeyIdFragment as well 2018-07-18 13:38:15 +02:00
Vincent Breitmoser 54498ef4c4 fix crash in ViewKeyActivity 2018-07-18 11:05:09 +02:00
Vincent Breitmoser 25712e2d6b Don't be extra annoying about analytics in debug mode 2018-07-17 20:32:32 +02:00
Vincent Breitmoser c54c7900d2 Send analytics for debug version to a separate instance 2018-07-17 20:31:30 +02:00
Vincent Breitmoser 5b0d9d927c Fix potential issue with disabled analytics 2018-07-17 20:18:50 +02:00
Vincent Breitmoser 4417ff1a43 Fix simple crash in analytics 2018-07-17 20:16:37 +02:00
Vincent BreitmoserandGitHub ea7a69adb8 Merge pull request #2350 from open-keychain/piwik-tracking
Add opt-in tracking with Piwik
2018-07-17 16:11:07 +02:00
Vincent Breitmoser 3f4de8b9c6 add (coarse!) analytics for preferences 2018-07-17 15:57:06 +02:00
Vincent Breitmoser fcf6abfec3 link to privacy policy in consent dialog 2018-07-17 15:57:05 +02:00
Vincent Breitmoser 15229854a6 Use correct id for piwik instance 2018-07-17 15:57:05 +02:00
Vincent Breitmoser fef79c7f73 rename "Tracking" to "Analytics" 2018-07-17 15:57:05 +02:00
Vincent Breitmoser 10466101c0 move tracking consent logic into TrackingConsentRequester 2018-07-17 15:56:16 +02:00
Vincent Breitmoser a277a37676 Show snackbar after tracking dialog 2018-07-17 15:56:16 +02:00
Vincent Breitmoser 73a4dcdcb7 don't ask for 24h if user cancels dialog (eg clicking outside) 2018-07-17 15:56:16 +02:00
Vincent Breitmoser c5d7e482e0 Add opt-in setting for tracking 2018-07-17 15:56:16 +02:00
Vincent Breitmoser c0a1fc84eb add simple tracking (no opt-in yet!) 2018-07-17 15:56:16 +02:00
Vincent BreitmoserandGitHub f664b1b57b Merge pull request #2382 from open-keychain/keychain-service-threadpool
use AsyncTask for background task execution
2018-07-17 15:52:20 +02:00
Vincent Breitmoser ebf7512a9d clean up warnings in CryptoOperationHelper 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 1fcc1889ec Use CancellationSignal for cancellation in UI code 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 9e079329d5 ditch ThreadPoolExecutor for AsyncTask 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 2c8e219aa8 use ThreadPool for background task execution 2018-07-17 14:25:14 +02:00
Vincent BreitmoserandGitHub f0f01eef55 Merge pull request #2381 from open-keychain/token-livedata
Use LiveData and ViewModel for ManageSecurityToken fragment
2018-07-17 12:37:23 +02:00
Vincent Breitmoser 4ea8c4a8f6 Use LiveData and ViewModel for ManageSecurityToken fragment
This hopefully also prevents some NPEs from google play crash reports.
2018-07-17 12:20:56 +02:00
Vincent Breitmoser 6ed110f1ee Remove unused field in KeyListFragment (fixes build) 2018-07-16 17:54:33 +02:00
Vincent Breitmoser 74ee94683b request FOREGROUND_SERVICE permission
starting in Android P, this permission is required to run a foreground
service. see https://developer.android.com/reference/android/app/Service#startForeground(int,%20android.app.Notification)
2018-07-16 17:49:30 +02:00
Vincent Breitmoser 555f335dbc Introduce NotificationChannelManager 2018-07-16 13:24:44 +02:00
Vincent Breitmoser ffa5b84593 prevent NPEs in linked id creation 2018-07-16 11:10:42 +02:00
Vincent Breitmoser e7dede56ca fix NPE in KeychainService 2018-07-16 10:34:31 +02:00
Vincent Breitmoser a3021bbd83 Clean up security token transport if connection procedure failed 2018-07-15 12:29:06 +02:00
Vincent Breitmoser fbbc77335b fix NPE for data signed with an unknown key 2018-07-15 12:25:32 +02:00
Vincent Breitmoser 634694b20e force reinserting keys on manual key update 2018-07-14 13:18:08 +02:00
Vincent Breitmoser e3e5f7feec use explicit order for insert operations
This prevents a problem from different column orders in database tables.
In particular, this occurred with the user_packets table, where the `rank` column moved up in order.
2018-07-14 13:05:08 +02:00
Vincent Breitmoser a69eaab0ea fix insertion of data into KeySignature table 2018-07-14 12:03:44 +02:00
Vincent Breitmoser a48efc6835 use key_list_item layout for RequestKeyPermissionActivity 2018-07-13 17:22:27 +02:00
Vincent Breitmoser aa9132b4c6 small NPE fix 2018-07-13 17:06:23 +02:00
Vincent BreitmoserandGitHub acc8e82e92 Merge pull request #2375 from open-keychain/ditch-keychain-provider
Ditch keychain provider
2018-07-13 16:56:24 +02:00
Vincent BreitmoserandGitHub 133b099b2f Merge pull request #2379 from open-keychain/usb-permission
Request missing permission when rescanning USB devices
2018-07-13 16:56:04 +02:00
Vincent BreitmoserandGitHub 54f50a7311 Merge pull request #2376 from open-keychain/notification-channel
Introduce Notification channel for passphrase cache
2018-07-13 16:33:06 +02:00
Vincent Breitmoser acb9544195 return KeychainExternalProvider as MatrixCursor 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 3150d2d3f9 move UidStatus querying logic into UserIdDao 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 58e0da0d8c always set trust db to initialized once it's there 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 4c8fda0798 Introduce uidStatus view for external provider 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 86ecd13c1d use correct sqlite expression for expiry 2018-07-13 16:26:35 +02:00
Vincent Breitmoser 0b28add654 Use SQLDelight for inserts instead of KeychainProvider 2018-07-13 16:26:35 +02:00
Vincent Breitmoser 36b48bc282 Update target sdk to 28 2018-07-13 16:24:23 +02:00
Vincent Breitmoser 76a8aa1fbc Fix selectFingerprintsForKeysolderThan query 2018-07-13 16:13:42 +02:00
Vincent Breitmoser f97531d628 Prevent flicker of dummy item during key update 2018-07-13 16:13:42 +02:00
Vincent Breitmoser 84f20f6646 synchronously schedule background work, to avoid cancelling race condition 2018-07-13 14:52:50 +02:00
Vincent BreitmoserandGitHub de3123b2c3 Merge pull request #2380 from kowalski7cc/adaptive-icon
Add adaptive icons, fixes #2273
2018-07-13 14:35:24 +02:00
Vincent Breitmoser c7bef6efda fix bug with KeyserverSyncManager updates in SettingsActivity 2018-07-13 14:32:58 +02:00
Vincent Breitmoser a4e2e2f4af Request missing permission when rescanning USB devices 2018-07-12 18:34:17 +02:00
Vincent Breitmoser 4f4be8ed47 make recreation of views atomic operation 2018-07-12 17:38:10 +02:00
Vincent Breitmoser 16802dc259 Use overflow menu instead of long click in decrypt file list
Fixes #2370
2018-07-12 17:28:19 +02:00
Vincent Breitmoser 03ddbbe9a2 small cleanup of DecryptListFragment 2018-07-12 17:19:21 +02:00
Vincent Breitmoser be1853d789 Introduce Notification channel for passphrase cache 2018-07-12 16:37:22 +02:00
Vincent Breitmoser 750aa42035 Scroll to new key after import 2018-07-12 14:12:00 +02:00
Vincent Breitmoser 00caf28ee2 use ContextCompat instead of deprecated methods 2018-07-12 13:39:13 +02:00
Vincent Breitmoser 639b6994ce set ViewKeyActivity title to key id for anonymous keys 2018-07-12 13:39:02 +02:00