You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E2E: key backup should not accept empty password #8814
Completing key backup setup with empty password should be impossible.
Steps to reproduce
I started key backup setup process and looked at possibilities. After downloading recovery-key.txt the key backup setup process finished without password.
If I understand you correctly this is a supported operation - if you set a passphrase you are essentially encrypting that recovery key and storing it on our server, but if you just download it they key lives only on your hard drive (and never touches our servers, encrypted or otherwise).
If this is what happened (and everything worked as it should) then we should review the UX to see if we can make this clearer.
Clicked the "Recovery key" button (or somesuch, I can't look it up anymore)
It showed a recovery key, offering to copy it to the clipboard or downloading it.
I clicked "Download" and then (IIRC) "OK".
After this, IIRC the key backup interface was closed. Looking at my settings, key backup is setup, but I have no clue about the passphrase. It could be that it's empty, as @niki-sp suggests, but when I click "Restore from backup" (or "Use key backup" in another browser), I get asked for the recovery key (though I expected to be asked for a passphrase, so it took me a few times to notice that it asked for the recovery key instead).
In any case, the recovery key is advertised to be use "when you forget your passphrase", so I had expected to be able to set a passphrase as well as download the recovery key, but I suspect I should have set a passphrase and only afterwards download the recovery key (which I later noticed is offered). Perhaps the recovery key thing before setting a passphrase should be advertised as allowing to use a recovery key instead of a passphrase?
A slightly related remark is that currently the Riot UI uses the terms "Recovery passphrase" and "Recovery key". In normal usage, you would probably set and use a passphrase (e.g. whenever you log in) and only use the recovery key to recover if you forgot the passphrase. It seems weird to call the passphrase "recovery passphrase", since I'm using it under normal circumstances. Also, it's called just "passphrase" when you set it, and "recovery passphrase" when you need to enter it later I believe. Perhaps this should be a separate issue?
If this is what happened (and everything worked as it should) then we should review the UX to see if we can make this clearer.
Yeah it certainly doesn't seem like good UX at the moment.
Steps to reproduce:
Click Start using Key Backup
Click Advanced
Click Setup Recovery Key
There is no way to exit this screen and cancel setting up key backup. You have to either click copy to clipboard or download the recovery key and then the key backup starts without asking you for a password.
The UI has changed significantly and I cannot reproduce the issue any more. I'm going to close it for now. Please comment with @kittykat if you are still experiencing the problem and I can reopen the issue for you.
Activity
lampholder commentedon Feb 20, 2019
If I understand you correctly this is a supported operation - if you set a passphrase you are essentially encrypting that recovery key and storing it on our server, but if you just download it they key lives only on your hard drive (and never touches our servers, encrypted or otherwise).
If this is what happened (and everything worked as it should) then we should review the UX to see if we can make this clearer.
matthijskooijman commentedon Feb 22, 2019
I also ran into this. I:
After this, IIRC the key backup interface was closed. Looking at my settings, key backup is setup, but I have no clue about the passphrase. It could be that it's empty, as @niki-sp suggests, but when I click "Restore from backup" (or "Use key backup" in another browser), I get asked for the recovery key (though I expected to be asked for a passphrase, so it took me a few times to notice that it asked for the recovery key instead).
In any case, the recovery key is advertised to be use "when you forget your passphrase", so I had expected to be able to set a passphrase as well as download the recovery key, but I suspect I should have set a passphrase and only afterwards download the recovery key (which I later noticed is offered). Perhaps the recovery key thing before setting a passphrase should be advertised as allowing to use a recovery key instead of a passphrase?
matthijskooijman commentedon Feb 22, 2019
A slightly related remark is that currently the Riot UI uses the terms "Recovery passphrase" and "Recovery key". In normal usage, you would probably set and use a passphrase (e.g. whenever you log in) and only use the recovery key to recover if you forgot the passphrase. It seems weird to call the passphrase "recovery passphrase", since I'm using it under normal circumstances. Also, it's called just "passphrase" when you set it, and "recovery passphrase" when you need to enter it later I believe. Perhaps this should be a separate issue?
aaronraimist commentedon May 16, 2019
Yeah it certainly doesn't seem like good UX at the moment.
Steps to reproduce:
kittykat commentedon Nov 30, 2021
The UI has changed significantly and I cannot reproduce the issue any more. I'm going to close it for now. Please comment with @kittykat if you are still experiencing the problem and I can reopen the issue for you.
Merge tag 'v1.11.0' into sc