So I'm on modular self-host. I have the latest RiotX. My RiotX is verified. I'm trying to interactively verify my desktop (Riot Web). I click "They match" on desktop. Click "They match" on RiotX. RiotX tells me I successfully verified, but my desktop tells me the other client cancelled the verification.
On Desktop if I try to verify manually with recovery keys, it asks for my account password, when I input my account password it just drops me to the same window asking for my password.
In the console there's an error telling me
Error restoring backup Error: "Secret storage creation canceled"


Logs being sent: yes
For the web app:
RiotX 0.19.0 [40019002]
This still fails.
Interactively verifying from RiotX with emojis fails as above described. Interactive verification "via text" fails with the error message that "private keys are not known".

When I try to fix this on Riot Web side, I tell it to "bootstrap cross-signing and secret storage" I can't get past the password request modal. The console shows an error:

When trying to Restore from backup (even though keys are currently reportedly being backed up), the UI gets stuck in the same place after password verification but the error messages in the console this time also include "Bootstrapping Secure Secret Storage / Secret storage default key not found, using key backup key"

So from this discussion it turns out the above was caused by two unrelated issues:
Good news is, not sure when exactly but the above glitch in Riot Web seem to have been fixed, as today I managed to verify using the UI:
| Before | After |
| ------------- |-------------|
|
|
|
Thanks for the fix and @tulir for the debugging help!
I will be closing this issue for now but recommend following up on the opaque "privateKey Unknown" error message in RiotX separately and not allowing users to attempt verification from devices that actually can't perform the verification to avoid further confusion.
Sorry for the pain and trouble you experienced here, but I am glad a solution is found. @flaki, to be clear so we can advise other who might see a similar thing, you were able to resolve this via the bootstrap button in the latest version on web?
@jryans correct. I'm on Modular-hosted riot-web version: v1.6.7. The previous bootstrapping bug seems to be gone†and I managed to bootstrap the storage and verify from just the key backup alone.
†I did run into a minor glitch when I had to enter my passphrase twice here: after first time the window requesting the passphrase reappeared with the input field empty but on second entry it worked. This could be caused by any number of things including that it did actually work the first time and the modal re-appearing was a simple UI glitch.*
Most helpful comment
This still fails.

Interactively verifying from RiotX with emojis fails as above described. Interactive verification "via text" fails with the error message that "private keys are not known".
When I try to fix this on Riot Web side, I tell it to "bootstrap cross-signing and secret storage" I can't get past the password request modal. The console shows an error:

When trying to Restore from backup (even though keys are currently reportedly being backed up), the UI gets stuck in the same place after password verification but the error messages in the console this time also include "Bootstrapping Secure Secret Storage / Secret storage default key not found, using key backup key"
