Commit Graph

4904 Commits (master)

Author SHA1 Message Date
Dominik Schürmann 4f60356791 changelog 5.4 2019-10-22 16:29:37 +02:00
Dominik Schürmann d44cb1dc24
Merge pull request #2493 from Anders-Linden/master
Adding support for WKD Advanced method
2019-10-22 16:23:04 +02:00
Dominik Schürmann ea023aaf18
Merge pull request #2495 from jekor/master
workaround for NullPointerException for some document thumbnails
2019-10-22 16:22:29 +02:00
Dominik Schürmann bf4961b356 extract shop string 2019-10-22 16:21:37 +02:00
Dominik Schürmann 5b8b985e61
Merge pull request #2454 from schleif/security-key-shop
Implementation of Cotech Security Keys shop
2019-10-22 16:15:12 +02:00
Chris Forno 0008c218ad workaround for NullPointerException for some document thumbnails 2019-10-04 15:50:12 +08:00
Anders Lindén ff4c6684e1 Adding support for WKD Advanced method
This change extends the WKD support with Advanced mode stated in
RFC Draft: draft-koch-openpgp-webkey-service-08 section 3.1
2019-09-28 22:26:43 +02:00
Dominik Schürmann 0a0b06efaa fix typo in changelog 2019-07-03 10:21:32 +02:00
Dominik Schürmann ad4cd1bfb9 Version 5.3 (53004) 2019-07-01 14:49:38 +02:00
Dominik Schürmann c4539de7a0 remove linked identity error codes 2019-07-01 14:46:16 +02:00
Dominik Schürmann bbc07130b7 pull from transifex 2019-07-01 14:45:55 +02:00
Dominik Schürmann 8aa1e25147 changelog 5.3 2019-07-01 14:40:20 +02:00
Dominik Schürmann cec447ed33 Version 5.3 2019-07-01 14:32:59 +02:00
Dominik Schürmann adcb39b5c8 use LetsEncrypt certificate for keys.openpgp.org and keyserver.ubuntu.com 2019-07-01 14:29:45 +02:00
Vincent Breitmoser c368630f65 fix threading issues in ViewKeyActivity 2019-06-27 19:26:56 +02:00
Vincent Breitmoser effa340c5c slightly improve PgpKeyOperation logic 2019-06-27 19:26:34 +02:00
Vincent Breitmoser 6cb773c45d Drop index on key metadata table
Key metadata can exist without a keyring in the table, so we don't lose
it on reinsertion.

Also, don't use transactions inside database upgrade tasks. The entire
update is wrapped in a transaction, and we don't want to break this!
2019-06-27 19:24:52 +02:00
Vincent Breitmoser 865b35d79f remove more linked identity remnants 2019-06-27 13:55:37 +02:00
Vincent Breitmoser cb054156a7 use keys.openpgp.org by default 2019-06-27 13:55:37 +02:00
schleif 69415e16f0 Add ConstraintLayout dependency. 2019-04-23 12:56:53 +02:00
schleif 1c46a0bca8 Add the shop fragment to the drawer. String typeface is bold. 2019-04-23 12:55:38 +02:00
schleif e6aa12489e Add need strings to string resource. 2019-04-23 12:53:56 +02:00
schleif d1b0d83b94 Add a fragment that holds a webview. In this the shop will be showed.
While the shop isn't showed a progress bar and a label indicates loading.
2019-04-23 12:53:17 +02:00
Emilio Aburto L e0836c91de
Fix Spanish translation to resolve a crashing issue
Fix #2433
2019-03-28 19:42:23 -03:00
Dominik Schürmann dd82374b17 update USB identifier to reflect YubiKey 5 series 2019-02-11 15:46:14 +01:00
Dominik Schürmann 8372c566a0 use string for key status 2019-01-10 14:57:35 +01:00
Constantine Verutin 4e4c070228 Make sure auth key selection dialog lists only keys with auth subkey available.
Presently the dialog lists all master keys, and keys without auth subkeys are not marked in any way. Sleecting one of those via SSH authentication API will result in cryptic "Could not create description: null" message.
2018-12-04 15:17:31 +00:00
Vincent Breitmoser 29b014edad Fix returned autocrypt state in OpenPgpServiceKeyIdExtractor 2018-11-21 16:28:33 +01:00
Vincent Breitmoser bbf0c0a470 re-add ShowNfcSweetspotActivity, inherit from BaseSecurityTokenActivity 2018-11-20 16:35:41 +01:00
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
Dominik Schürmann 3a25482fb9 Version 5.3-beta3 2018-10-30 17:27:58 +01:00
Dominik Schürmann 86db169bf8
Merge pull request #2415 from open-keychain/fix-secret-keys
fix secret key export compatibility with gnupg
2018-10-30 17:26:55 +01:00
Dominik Schürmann 894bac6c8d
Merge pull request #2404 from Secalot/master
Add Secalot hardware token support.
2018-10-30 15:45:58 +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
Matvey Mukha 01b2f6e95b Add reset support for Secalot. 2018-10-29 23:48:03 +01:00
Dominik Schürmann 09f63e7f30 Version 5.3-beta2 2018-10-25 09:21:14 +02:00
Dominik Schürmann f8fccec40c
Merge pull request #2408 from open-keychain/remove-linked-ids
Remove experimental Linked Identities feature
2018-10-25 08:54:25 +02: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
Dominik Schürmann ff5528713f Update from transifex 2018-10-21 22:53:15 +02:00
Matvey Mukha 29b59b7404 Add Secalot hardware token support. 2018-10-19 22:00:51 +02:00
Dominik Schürmann cab4789091 Version 5.3-beta1 2018-10-11 19:19:03 +02:00
Vincent Breitmoser 7e5a153a04 fix AuthenticationOperationTest 2018-10-02 16:43:28 +02:00
Vincent Breitmoser c765bef79d
Merge pull request #2399 from koppa/enter_confirm
PassPhraseDialog: confirm password on enter key
2018-10-02 16:14:43 +02:00
Vincent Breitmoser 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 Breitmoser 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
Markus Gräb 0df58034cc PassPhraseDialog: confirm password on enter key 2018-10-02 14:10:26 +02:00
Christian Hagau 047a409164 Add a test for authentication subkey selection with a keyring created as
such:
- add 3 auth subkeys
- revoke the 1st & 3rd subkey
- add an encryption subkey
2018-10-02 00:00:00 +00:00
Vincent Breitmoser 400db49e75 Use specialized query exclusively to select authentication key 2018-10-01 21:36:01 +02:00
Dominik Schürmann e8bbdc2339 remove leftovers from javax package 2018-09-24 13:44:05 +02:00
Wiktor Kwapisiewicz 5c55c1a166
Fix saving XMPP URIs in phone Contact Book
Previously XMPP URIs were saved as non functional e-mails in Android built-in
Contact Book. This change saves them as a special IM field that is used
directly by other applications (e.g. Conversations).
2018-09-08 21:48:51 +02:00
Christian Hagau 2e50e117ed Use static passphrases in tests 2018-08-07 00:00:00 +00:00
Christian Hagau 3ea27ab717 Rewrite ShareKeyHelper 2018-08-04 00:00:00 +00:00
Christian Hagau d3ecbc8487 Add key sharing buttons to ViewKeyActivity 2018-08-03 00:00:00 +00:00
Christian Hagau d1c64e3159 Extract key sharing methods from ViewKeyAdvShareFragment 2018-08-02 00:00:00 +00: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
Dominik Schürmann 6f8b972f78 Version 5.2 2018-07-26 14:08:23 +02:00
Dominik Schürmann bd04886db5 update from transifex 2018-07-26 14:08:06 +02:00
Dominik Schürmann 69ddfdd126 Changelog v5.2 2018-07-26 14:04:37 +02:00
Dominik Schürmann 02897d0392 Version 5.2-beta9 2018-07-25 09:38:13 +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
Dominik Schürmann 9baa65f6f4 Version 5.2-beta8 2018-07-24 14:09:27 +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
Dominik Schürmann 7788e454c9 Version 5.2-beta7 2018-07-19 09:30:10 +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
Dominik Schürmann 59b6d0b1ca Version 5.2-beta6 2018-07-17 21:06:49 +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
Dominik Schürmann df12dbfa8a Version 5.2-beta5 2018-07-17 17:41:34 +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 Breitmoser 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 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
Dominik Schürmann 891c0e10c4 Version 5.2-beta4 2018-07-14 15:10:11 +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
Dominik Schürmann 9df9682c77 Version 5.2-beta3 2018-07-13 19:02:45 +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 Breitmoser acc8e82e92
Merge pull request #2375 from open-keychain/ditch-keychain-provider
Ditch keychain provider
2018-07-13 16:56:24 +02:00
Vincent Breitmoser 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 Breitmoser 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
Dominik Schürmann 1e51cf1aaf
Merge pull request #2377 from open-keychain/highlight-after-import
Scroll to new key after import
2018-07-13 15:26:55 +02:00
Dominik Schürmann 54a7860d2a
Merge pull request #2378 from open-keychain/decrypt-context-button
Use overflow menu instead of long click in decrypt file list
2018-07-13 15:25:43 +02:00
Vincent Breitmoser 84f20f6646 synchronously schedule background work, to avoid cancelling race condition 2018-07-13 14:52:50 +02:00
Vincent Breitmoser 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
Kowalski Prime 17f3db6557 Add adaptive icons, fixes #2273
Add support for adaptive icons in devices running API 26 or greater, preserving old icon for older devices and providing round icon.
2018-07-13 01:24:28 +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