Commit Graph

952 Commits

Author SHA1 Message Date
SBiOSoftWhare 4188a94f26 Merge pull request #3342 from vector-im/riot_3124
Connect/restore backup created with SSSS
2020-06-17 17:13:59 +02:00
SBiOSoftWhare 7768ac8a28 SecurityVC: Connect/restore key backup created with SSSS. 2020-06-15 16:30:58 +02:00
SBiOSoftWhare 5e3cdac4c9 Create SecretsRecoveryCoordinatorBridgePresenter. 2020-06-15 16:20:36 +02:00
SBiOSoftWhare 92433e0bd1 Secrets recovery: Restore only key backup on SecretsRecoveryGoal.keyBackup. 2020-06-15 16:19:44 +02:00
SBiOSoftWhare 00b341d62f KeyBackupRecoverCoordinatorBridgePresenter: Add possibility to push key backup recover flow from a UINavigationController. 2020-06-15 16:18:05 +02:00
SBiOSoftWhare f8e92f58ce KeyBackupRecoverCoordinator: Handle existing navigationRouter if needed. 2020-06-15 16:14:31 +02:00
SBiOSoftWhare 19627cf271 MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
ismailgulek d3787e9330 Check user in session before using userId 2020-06-12 15:07:26 +03:00
ismailgulek ef946809f1 Get inviter from invite event instead of looping members 2020-06-12 14:36:58 +03:00
SBiOSoftWhare f555848d1c Secrets recovery: Handle MXRecoveryService errors in recovery view models. 2020-06-11 16:55:44 +02:00
SBiOSoftWhare 85a25d4da3 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare 72e9054350 Fix Manu's remarks 2020-06-10 17:06:47 +02:00
SBiOSoftWhare 868f3cb59b Update Riot/Modules/SecretsRecovery/RecoverWithKey/SecretsRecoveryWithKeyViewController.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-10 13:56:51 +02:00
SBiOSoftWhare ae9fb9ee21 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare a5ffe9381d Complete security: Add recover secrets action. 2020-06-09 17:36:55 +02:00
SBiOSoftWhare 4bf3391198 Secrets recovery: Add SecretRecoveryCoordinator. 2020-06-09 17:15:37 +02:00
SBiOSoftWhare aa10305da2 Secrets recovery: Implement secrets recovery with passphrase screen. 2020-06-09 17:11:53 +02:00
SBiOSoftWhare f53a8f9aff Secrets recovery: Implement secrets recovery with recovery key screen. 2020-06-09 17:02:17 +02:00
SBiOSoftWhare 6f29298a79 SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
manuroe 09ae301b3c Authentication: Redirect webview (SSO) javascript logs to native logs 2020-06-03 14:01:39 +02:00
manuroe 81706a7fc0 Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe f2ac99c723 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe 14c6c7eb21 Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe 381a32fb83 Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe 0638ebe622 Cross-signing: Bootstrap cross-sign on registration (and login if applicable)
#3292

This action is now invisible to the user.
2020-06-02 14:19:37 +02:00
SBiOSoftWhare 7a3fc02f74 CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare 39b9de06c3 Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
ismailgulek 72d52b6149 Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe b14473f8f2 AuthenticationVC: Fix crash due to update to WKWebView
The crash was:

```
2020-05-11 17:53:44.125128+0200 Riot[60416:899392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Configuration cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010b0e98db __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000109d3dac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010b0e9735 +[NSException raise:format:] + 197
	3   WebKit                              0x00000001080f112e -[WKWebView _initializeWithConfiguration:] + 88
	4   WebKit                              0x00000001080f35ab -[WKWebView initWithCoder:] + 131
2020-05-11 17:55:50 +02:00
manuroe 8b1fae3b2e BF: App asks to verify all devices on every startup for no valid reason
#3221

We do not care about local trust. Only cross-sign status counts now
2020-05-08 07:52:33 +02:00
manuroe 33f75c5a48 Merge pull request #3211 from vector-im/riot_3182
Self verify my old riots
2020-05-07 16:08:32 +02:00
SBiOSoftWhare f2f212546d Session verification: Cancel if device is not found. 2020-05-07 12:21:47 +02:00
SBiOSoftWhare 4a78b53233 UserVerificationCoordinator: Integrate manually verify device screen. 2020-05-07 10:54:02 +02:00
SBiOSoftWhare 03364b7c6a Implement manually verify device screen. 2020-05-07 10:52:49 +02:00
manuroe b834a37038 RoomMemberVC: Make sure we have user keys to display the right trust level 2020-05-06 14:37:37 +02:00
manuroe fdf05b90bd Cross-signing: The "Complete Security" button triggers a verification request to all user devices 2020-05-06 14:35:52 +02:00
manuroe 2f882b904d UserVerificationSessionStatusView: Add verifyManually action 2020-05-06 09:45:55 +02:00
manuroe 8efbce320e UserVerificationSessionStatusViewController: Add manually verify button 2020-05-05 18:27:36 +02:00
SBiOSoftWhare bc7ae2f8ce Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare 209e51d74f Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare 4d8d18a4cb KeyVerificationSelfVerifyStartViewController: Show navigation bar if needed. 2020-05-05 11:51:22 +02:00
SBiOSoftWhare ed561ff74c KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00
SBiOSoftWhare 5853a0ef17 MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
SBiOSoftWhare 5c2f0d5ad6 Key verification: Display "Verify your other sessions" modal at every startup if needed. 2020-05-04 19:59:11 +02:00
SBiOSoftWhare a58abb400c Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
SBiOSoftWhare 7b7058ae43 Merge branch 'develop' into riot_3183 2020-04-30 19:24:45 +02:00
SBiOSoftWhare c239476c9c Complete security: Handle incoming SAS transaction. 2020-04-30 19:17:56 +02:00
SBiOSoftWhare eec51e41e4 KeyVerificationCoordinatorBridgePresenter: Add isPresenting property. 2020-04-30 19:11:13 +02:00
SBiOSoftWhare 0d23f76dd4 Key verification: Display "Verify this session" modal at every startup if needed. 2020-04-30 15:28:43 +02:00
SBiOSoftWhare d4faf353d3 Fix commented code. 2020-04-28 20:36:23 +02:00