Travis Ralston
9dd93f14ba
Merge pull request #4555 from matrix-org/travis/sso-xsigning
...
Add copy to SSO prompts during cross-signing setup
2020-05-13 15:33:09 -06:00
Travis Ralston
e5da81b6ba
Ensure key backup gets dealt with correctly during secret storage reset
...
Fixes https://github.com/vector-im/riot-web/issues/13562
We only initialize a new key backup if the user requested one. If they've requested new keys but have not asked for keys to be backed up, we simply delete the now-invalid backup.
This also adds some logging to identify in rageshakes when someone resets their cross-signing, and when their key backup is being deleted.
2020-05-06 14:42:03 -06:00
Travis Ralston
17be9805e1
Set SSO dialog aesthetics for cross-signing setup
...
Fixes https://github.com/vector-im/riot-web/issues/13042
2020-05-06 14:24:37 -06:00
J. Ryan Stinnett
8536e087ab
Skip auth flow test for signing upload when password present
...
If we already have an account password to use during secret storage setup, then
it's highly likely that the homeserver accepts passwords for device signing key
upload as well. This change then assumes password auth will work without
checking to avoid a request when the server is under high load.
Fixes https://github.com/vector-im/riot-web/issues/13286
2020-04-22 14:48:44 +01:00
David Baker
58c8f2188a
Handle load error in create secret storage dialog
2020-04-20 18:10:23 +01:00
Travis Ralston
25fa675f88
Blind attempt at fixing the end to end tests
2020-04-16 11:46:29 -06:00
Michael Telatynski
af59c1b5b3
iterate copy some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 14:02:32 +01:00
Michael Telatynski
9ec8fda1ce
update Create SSSS Dialog copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 13:34:18 +01:00
Michael Telatynski
a9a2999ccc
Use recovery passphrase
and recovery key
everywhere
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 12:26:12 +01:00
Michael Telatynski
89bc3bdd5b
consolidate and extract copyPlaintext, copyNode and selectText
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:16:11 +01:00
J. Ryan Stinnett
e1a496f231
Pass along key backup for bootstrap
...
If we ask for the key backup key early in creating secret storage to ensure we
trust the backup, then we stash it to ensure it's available to bootstrap as well
without prompting again.
Fixes https://github.com/vector-im/riot-web/issues/12958
2020-04-09 17:32:57 +01:00
J. Ryan Stinnett
24c09cc4c8
Convert secret storage key creation to object
2020-03-31 10:45:53 +01:00
J. Ryan Stinnett
690b5945d0
Pass new secret storage key to bootstrap path
...
This passes the newly created secret storage key down to the bootstrap path for
temporary caching to avoid prompting the user for it again in the later stages
of bootstrapping.
Fixes https://github.com/vector-im/riot-web/issues/12867
2020-03-30 21:40:11 +01:00
Michael Telatynski
19aae087e0
Field: make id optional, generate one if not provided
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-29 22:59:15 +01:00
David Baker
c8691c73ff
Allow key backup restore to get the key backup passphrase
...
And pass this in as the new callback to bootstrap to get the old
key backup passphrase.
2020-03-19 20:42:16 +00:00
J. Ryan Stinnett
4db1d04764
Fix warning about uncontrolled vs. controlled state
2020-02-28 13:52:24 +00:00
J. Ryan Stinnett
d3c7a7ff1f
Use latest backup status directly rather than via state
...
This uses the latest backup status we just retrieved by returning from the
lookup path (instead of using it indirectly via state). This is important
because state updates are batched, so we can't rely on the value to be updated
immediately like we were.
Fixes https://github.com/vector-im/riot-web/issues/12562
2020-02-28 13:47:12 +00:00
J. Ryan Stinnett
567e882c32
Add missing click handler
2020-02-28 12:04:27 +00:00
J. Ryan Stinnett
a93c13306c
Prefer account password variation of upgrading
...
This shows the account password variation of upgrade encryption first if it's
possible to do so. This ensures we match the logic that locks the next button.
Fixes https://github.com/vector-im/riot-web/issues/12560
2020-02-28 11:25:04 +00:00
Zoe
c8e65bfa65
flip sense of 'force' flag in if statement
2020-02-11 17:56:25 +00:00
Zoe
5382a52519
Fixed bug where key reset didn't always return the right key
2020-02-11 15:57:14 +00:00
Zoe
d47d13256f
Merge pull request #4041 from matrix-org/foldleft/12221-reset-cross-signing
...
Button to reset cross-signing and SSSS keys
2020-02-10 17:14:05 +00:00
Michael Telatynski
2230e746aa
sprinkle preventDefaults on form submission handlers
2020-02-09 15:03:28 +00:00
Michael Telatynski
0393a57b5a
fix submit button disabled breaking async task
2020-02-09 14:49:54 +00:00
Zoe
8fdae73e03
Button to reset cross-signing and SSSS keys
2020-02-07 14:55:01 +00:00
Michael Telatynski
4d0d6cdaa4
Merge branch 'develop' into t3chguy/password_completion
2020-02-05 20:24:37 +00:00
J. Ryan Stinnett
d5811cad28
Change UI auth title for cross-signing
2020-01-31 15:04:51 +00:00
J. Ryan Stinnett
02cada7cc6
First pass of copy changes
2020-01-31 12:15:19 +00:00
David Baker
96d5fb5ce3
Only display the first zxcvbn warning/suggestion
...
As per comment
Fixes https://github.com/vector-im/riot-web/issues/12150
2020-01-31 10:59:35 +00:00
Michael Telatynski
a180dddc66
Pass an ID to the <Field/> as needed and fix div inside p nesting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 22:31:19 +00:00
J. Ryan Stinnett
81ee27f41e
Replace device with session in UI text
...
This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now.
2020-01-29 15:52:32 +00:00
Michael Telatynski
cb0392b78d
use forms to wrap password fields so Chrome doesn't go wild and prefill all the things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:24:45 +00:00
David Baker
39c8a9d204
Start new key backup in security setup flow
...
Part of https://github.com/vector-im/riot-web/issues/11889
2020-01-28 19:42:09 +00:00
David Baker
5e1b42b350
unused component
2020-01-28 17:21:42 +00:00
David Baker
546acb696d
Add confirmation to skip button
...
Re-using the opt out phase which was unused
2020-01-28 17:15:50 +00:00
David Baker
abfa593791
Make the 'encryption upgrade' flow better
...
Fixes https://github.com/vector-im/riot-web/issues/12086
2020-01-28 16:36:07 +00:00
David Baker
437b45f8a6
Remember password for e2e bootstrapping
...
Fixes https://github.com/vector-im/riot-web/issues/12046
2020-01-25 15:28:06 +00:00
David Baker
3d7137d4ad
Setup flow for cross-signing on login / registration
...
Still outstanding:
* Keep password from login / registration
* Confirmation on skip button
Fixes https://github.com/vector-im/riot-web/issues/11902
2020-01-24 19:11:57 +00:00
David Baker
c0b7132404
Different copy on done screen if we setup from scratch
2020-01-23 10:18:08 +00:00
David Baker
30b0663eb0
lint
2020-01-22 18:15:35 +00:00
David Baker
78654cc693
Updated visuals for cross-signing bootstrap
...
* Use Fields rather than plain inputs
* Update padding & alignment to match designs
* Add Skip buttons
* Update copy as per designs
Part of https://github.com/vector-im/riot-web/issues/11902
Based on https://github.com/matrix-org/matrix-react-sdk/pull/3897
2020-01-22 18:08:39 +00:00
David Baker
e98269822c
Add icon to bootstrap dialogs
2020-01-22 11:44:47 +00:00
David Baker
644d68d836
Update copy in bootstrap success dialog phase
2020-01-22 10:59:50 +00:00
David Baker
d211372740
UI to bootsrap SSSS from key backup
2020-01-22 10:44:02 +00:00
J. Ryan Stinnett
27ee90cad5
Add post-login complete security flow
...
This adds a step after login to complete security for your new session. At the
moment, the only verification method is entering your SSSS passphrase, but nicer
paths will be added soon.
This new step only appears when crypto is available and the account has
cross-signing enabled in SSSS.
Fixes https://github.com/vector-im/riot-web/issues/11214
2020-01-15 21:53:36 +00:00
Travis Ralston
7bfb3686cd
Merge pull request #3839 from matrix-org/travis/sourcemaps
...
Fix sourcemaps by refactoring the build system
2020-01-15 10:11:33 -07:00
David Baker
24552f567e
Add primary button to trigger restore flow
2020-01-14 11:52:00 +00:00
David Baker
94e4d5bf1f
s/sign-in/session/
2020-01-14 11:32:30 +00:00
David Baker
44ca35296a
Consistent capitalisation
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-14 11:31:00 +00:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00