Commit Graph

960 Commits

Author SHA1 Message Date
manuroe ed15566b4e Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:03 +02:00
manuroe a41eedadc1 SecurityVC: Use NEW_CROSS_SIGNING_FLOW to not break things 2020-06-24 11:43:50 +02:00
manuroe 4fe62f1195 SecurityVC: Add warning if we do not have the MSK 2020-06-24 11:43:50 +02:00
manuroe 774a32f5bf SecurityVC: Add Secure backup status 2020-06-24 11:43:41 +02:00
manuroe f7879c4238 SecurityVC: Add cross-signing reset. Stub things using test passwords 2020-06-19 09:32:27 +02:00
manuroe 9c8d3947b7 SecurityVC: Delete a secure backup 2020-06-19 08:00:22 +02:00
manuroe 2e9a6783e1 SecurityVC: PoC for secure backup settings 2020-06-18 15:51:06 +02:00
manuroe cddc61198d SecurityVC: Factorise cell buttons 2020-06-18 11:47:53 +02:00
SBiOSoftWhare ebf4cc6ed9 Merge pull request #3342 from vector-im/riot_3124
Connect/restore backup created with SSSS
2020-06-17 17:13:59 +02:00
SBiOSoftWhare 9e3a91ea00 SecurityVC: Connect/restore key backup created with SSSS. 2020-06-15 16:30:58 +02:00
SBiOSoftWhare 49cc4f54bd Create SecretsRecoveryCoordinatorBridgePresenter. 2020-06-15 16:20:36 +02:00
SBiOSoftWhare b9b51efa2f Secrets recovery: Restore only key backup on SecretsRecoveryGoal.keyBackup. 2020-06-15 16:19:44 +02:00
SBiOSoftWhare b58073ec44 KeyBackupRecoverCoordinatorBridgePresenter: Add possibility to push key backup recover flow from a UINavigationController. 2020-06-15 16:18:05 +02:00
SBiOSoftWhare 2ba4f68df4 KeyBackupRecoverCoordinator: Handle existing navigationRouter if needed. 2020-06-15 16:14:31 +02:00
SBiOSoftWhare 4ef3fd488c MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
ismailgulek c9f5ef4f1c Check user in session before using userId 2020-06-12 15:07:26 +03:00
ismailgulek c44132199a Get inviter from invite event instead of looping members 2020-06-12 14:36:58 +03:00
SBiOSoftWhare 6dec25b2a3 Secrets recovery: Handle MXRecoveryService errors in recovery view models. 2020-06-11 16:55:44 +02:00
SBiOSoftWhare 49211bdce2 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare c068735b80 Fix Manu's remarks 2020-06-10 17:06:47 +02:00
SBiOSoftWhare 6a292702c8 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 07607b8550 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare d2d422c0d0 Complete security: Add recover secrets action. 2020-06-09 17:36:55 +02:00
SBiOSoftWhare dd0c7caa00 Secrets recovery: Add SecretRecoveryCoordinator. 2020-06-09 17:15:37 +02:00
SBiOSoftWhare 3b6f04a230 Secrets recovery: Implement secrets recovery with passphrase screen. 2020-06-09 17:11:53 +02:00
SBiOSoftWhare dd2ead1e6e Secrets recovery: Implement secrets recovery with recovery key screen. 2020-06-09 17:02:17 +02:00
SBiOSoftWhare b8afa1e58b SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
manuroe a2ee225d00 Authentication: Redirect webview (SSO) javascript logs to native logs 2020-06-03 14:01:39 +02:00
manuroe 3a76f14b5d Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe 22a05baa51 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe c3b72636a9 Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe 497a40e945 Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe a710159718 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 6b43bde188 CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare 1163b7cdec Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
ismailgulek 6632413d43 Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe 486cf7ad1f 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 425ed0f317 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 0e6b93b276 Merge pull request #3211 from vector-im/riot_3182
Self verify my old riots
2020-05-07 16:08:32 +02:00
SBiOSoftWhare fb7d86c22f Session verification: Cancel if device is not found. 2020-05-07 12:21:47 +02:00
SBiOSoftWhare 71fe7d2985 UserVerificationCoordinator: Integrate manually verify device screen. 2020-05-07 10:54:02 +02:00
SBiOSoftWhare 4ffd08250f Implement manually verify device screen. 2020-05-07 10:52:49 +02:00
manuroe f067682a13 RoomMemberVC: Make sure we have user keys to display the right trust level 2020-05-06 14:37:37 +02:00
manuroe 8834ea4b03 Cross-signing: The "Complete Security" button triggers a verification request to all user devices 2020-05-06 14:35:52 +02:00
manuroe 3b260c2192 UserVerificationSessionStatusView: Add verifyManually action 2020-05-06 09:45:55 +02:00
manuroe efb6e351c8 UserVerificationSessionStatusViewController: Add manually verify button 2020-05-05 18:27:36 +02:00
SBiOSoftWhare eb4281ab86 Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare 6b1caed468 Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare f94f7a956e KeyVerificationSelfVerifyStartViewController: Show navigation bar if needed. 2020-05-05 11:51:22 +02:00
SBiOSoftWhare 73015e832e KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00