mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Emergency Access fails because of KeyEncrypted value is null
#1139
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 @BlackDex on GitHub (Oct 24, 2021).
Discussed in https://github.com/dani-garcia/vaultwarden/discussions/2060
Originally posted by LoicFr October 23, 2021
Hello,
Just to try, I have configured an emergency access (with view access rights) and it is well approved but when I click on the View button of the emergency contact I can't see anything (see picture below). Is that normal ? I am redirecting to https://my.vaultwarden.server.com/#/settings/emergency-access/54a8de73-1da6-4578-b46f-358868d8cba4. What am I supposed to do then ?
Thanks for your help,
Regards,
Loïc
@BlackDex commented on GitHub (Oct 27, 2021):
@LoicFr @K1ngLear @antipasta
As already mentioned in the Discussion:
To see what is breaking this we need a json response which breaks. Since i can't reproduce this currently, and i think neither do the other main contributors. I understand that people are a bit hesitant to provide this, but all is encrypted, so we can't extract anything.
I also think the it is somewhere in the
Ciphersjson tree, and that if there is aKeyEncryptedandObjectkey/value within the response that that is probably not the issue, and we do not need that.Please contact me on Matrix https://matrix.to/#/#vaultwarden:matrix.org, I am
@blackdex:matrix.org@antipasta commented on GitHub (Oct 27, 2021):
Hi,
I just tried repeating all steps twice now from scratch and strangely enough both times everything is working fine for me. If I'm able to reproduce in the future i'll reach out on matrix.
Sorry about that! Hopefully one of the other users tagged is still in this error state
@BlackDex commented on GitHub (Oct 27, 2021):
Steps to extract this info (Works on Firefox and Chrome based browsers):
SettingsEmergency AccessF12, this will open a developer console.Networktab within the developer console.view.Response, click on that.Copy All, In Chrome you can just select all and copy that.The output of that is what we need to debug/see what is going wrong.
@jyundt commented on GitHub (Oct 27, 2021):
@BlackDex
Following up on our matrix chat, below is my support string:
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SIGNUPS_ALLOWED, SHOW_PASSWORD_HINT, DISABLE_ADMIN_TOKEN, SMTP_HOST, SMTP_SSL, SMTP_PORT, SMTP_FROM, SMTP_USERNAME, SMTP_PASSWORD
@BlackDex commented on GitHub (Oct 27, 2021):
Upon seeing the output/response it looks like
KeyEncryptedisnullwhich shouldn't.And that causes the following error in javascript:
@BlackDex commented on GitHub (Oct 27, 2021):
@jjlin Something you encountered maybe with your cleanup which could cause this?
@LoicFr commented on GitHub (Oct 27, 2021):
Hello,
I confirm I have the same output JSON :
Regards,
Loïc
@jjlin commented on GitHub (Oct 28, 2021):
@BlackDex I haven't, but I'm getting back to the cleanup work over the next few days so I'll look into it.