Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Only wait for public keys during verification - #5164

Merged
jryans merged 2 commits into
developfrom
jryans/cross-signing-verif-errors
Sep 2, 2020
Merged

Only wait for public keys during verification#5164
jryans merged 2 commits into
developfrom
jryans/cross-signing-verif-errors

Conversation

@jryans

@jryans jryans commented Sep 2, 2020

Copy link
Copy Markdown
Collaborator

As part of new device verification, we were waiting for "cross-signing ready"
which means both the public keys are trusted by this device and private keys
are available. There's no guarantee that the private keys will ever arrive, so
it's too strict to wait for this as a blocking flow. This relaxes things to wait
only for the current device to trust public keys.

Fixes element-hq/element-web#14970

As part of new device verification, we were waiting for "cross-signing ready"
which means _both_ the public keys are trusted by this device _and_ private keys
are available. There's no guarantee that the private keys will ever arrive, so
it's too strict to wait for this as a blocking flow. This relaxes things to wait
only for the current device to trust public keys.

Fixes element-hq/element-web#14970
For the case where cross-signing is trusted on device but secret storage does
not exist, we were showing "verify this device", which is not the best match
from the existing toasts. This tunes the checks to instead show "set up
encryption" which is at least a bit closer.

Part of element-hq/element-web#14970
@jryans
jryans requested a review from a team September 2, 2020 13:40
@jryans
jryans merged commit 129b945 into develop Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trying to cross sign after logging in fails.

2 participants