mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Error message when resetting master password and rotating encryption keys. #1069
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hrvylein on GitHub (Jul 3, 2021).
Subject of the issue
Error message when resetting master password and rotating encryption keys.
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: ADMIN_TOKEN
Clients used: Web
Other relevant details:
Steps to reproduce
Change master password and check rotate keys
Expected behaviour
Success message or redirect
Actual behaviour
After some time there is an error message displayed:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>404 Not Found</title> </head> <body align="center"> <div role="main" align="center"> <h1>404: Not Found</h1> <p>The requested resource could not be found.</p> <hr /> </div> <div role="contentinfo" align="center"> <small>Rocket</small> </div> </body> </html>and https://my.domain.tld/api/emergency-access/trusted is trying to be accessed which returns the 404 error.
@BlackDex commented on GitHub (Jul 3, 2021):
ah, that isn't something we support yet, but apparently we at least need the endpoint to resolve and return something.
Thanks for the report!.
@BlackDex commented on GitHub (Jul 4, 2021):
I have checked it, and it does seem to actually change and rotate what is needed, but it does trigger the error message, and for me it didn't logged me out of my session, but all was changed.
I have a fix already for this, i just need to finish it with some other fixes for the latest web-vault version.