Commit Graph

948 Commits

Author SHA1 Message Date
SBiOSoftWhare 481925c2f9 Create SecretsRecoveryCoordinatorBridgePresenter. 2020-06-15 16:20:36 +02:00
SBiOSoftWhare ceeafee066 Secrets recovery: Restore only key backup on SecretsRecoveryGoal.keyBackup. 2020-06-15 16:19:44 +02:00
SBiOSoftWhare 6d82dd3c5d KeyBackupRecoverCoordinatorBridgePresenter: Add possibility to push key backup recover flow from a UINavigationController. 2020-06-15 16:18:05 +02:00
SBiOSoftWhare 19789f2f64 KeyBackupRecoverCoordinator: Handle existing navigationRouter if needed. 2020-06-15 16:14:31 +02:00
SBiOSoftWhare aff523db2f MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
SBiOSoftWhare fdd474e9c5 Secrets recovery: Handle MXRecoveryService errors in recovery view models. 2020-06-11 16:55:44 +02:00
SBiOSoftWhare e349650f91 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare 8985a4a521 Fix Manu's remarks 2020-06-10 17:06:47 +02:00
SBiOSoftWhare d7b1e381fb 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 2acb855714 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare 891264962c Complete security: Add recover secrets action. 2020-06-09 17:36:55 +02:00
SBiOSoftWhare fdd2541add Secrets recovery: Add SecretRecoveryCoordinator. 2020-06-09 17:15:37 +02:00
SBiOSoftWhare 4e37808040 Secrets recovery: Implement secrets recovery with passphrase screen. 2020-06-09 17:11:53 +02:00
SBiOSoftWhare 6433bcef0d Secrets recovery: Implement secrets recovery with recovery key screen. 2020-06-09 17:02:17 +02:00
SBiOSoftWhare 636e681fbd SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
manuroe 7db043d228 Authentication: Redirect webview (SSO) javascript logs to native logs 2020-06-03 14:01:39 +02:00
manuroe 9bf5e3a038 Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe e2d9048eb3 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe 5cd3d37cee Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe 44a825c9aa Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe dc7b67d909 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 be5f0fcf08 CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare 6f7803e6eb Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
ismailgulek fd04cb6b86 Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe 15e30b8e34 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 40bb9441d9 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 a64e88f46b Merge pull request #3211 from vector-im/riot_3182
Self verify my old riots
2020-05-07 16:08:32 +02:00
SBiOSoftWhare 56ecba6337 Session verification: Cancel if device is not found. 2020-05-07 12:21:47 +02:00
SBiOSoftWhare 473f3d8f5d UserVerificationCoordinator: Integrate manually verify device screen. 2020-05-07 10:54:02 +02:00
SBiOSoftWhare 1cd5ae28d8 Implement manually verify device screen. 2020-05-07 10:52:49 +02:00
manuroe 79f19a96fd RoomMemberVC: Make sure we have user keys to display the right trust level 2020-05-06 14:37:37 +02:00
manuroe 7d55f75c61 Cross-signing: The "Complete Security" button triggers a verification request to all user devices 2020-05-06 14:35:52 +02:00
manuroe f9b777dfdf UserVerificationSessionStatusView: Add verifyManually action 2020-05-06 09:45:55 +02:00
manuroe a0b852a792 UserVerificationSessionStatusViewController: Add manually verify button 2020-05-05 18:27:36 +02:00
SBiOSoftWhare e97b95815e Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare 3a0e415a61 Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare 4118c84006 KeyVerificationSelfVerifyStartViewController: Show navigation bar if needed. 2020-05-05 11:51:22 +02:00
SBiOSoftWhare 3939122b06 KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00
SBiOSoftWhare 107eb4c461 MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
SBiOSoftWhare 45450a95f7 Key verification: Display "Verify your other sessions" modal at every startup if needed. 2020-05-04 19:59:11 +02:00
SBiOSoftWhare 5acbe5fbbd Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
SBiOSoftWhare ca43e32f63 Merge branch 'develop' into riot_3183 2020-04-30 19:24:45 +02:00
SBiOSoftWhare 9c3b587db3 Complete security: Handle incoming SAS transaction. 2020-04-30 19:17:56 +02:00
SBiOSoftWhare 22bfaba335 KeyVerificationCoordinatorBridgePresenter: Add isPresenting property. 2020-04-30 19:11:13 +02:00
SBiOSoftWhare d28e247cd9 Key verification: Display "Verify this session" modal at every startup if needed. 2020-04-30 15:28:43 +02:00
SBiOSoftWhare 69fb582c1f Fix commented code. 2020-04-28 20:36:23 +02:00
SBiOSoftWhare 15588f8fb5 Key verification: Update verified screen UI. 2020-04-28 20:27:48 +02:00
ismailgulek 591e51b95f Prefill email field on registrations
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 19:55:02 +03:00
manuroe 20cb8ed847 Merge branch 'develop' into polish_not_verified 2020-04-28 18:39:20 +02:00
manuroe e195deccdf Verification: Do not talk about QR code if only emoji is possible
#3035
2020-04-28 18:16:37 +02:00