-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing vault-owning user can lead to orphaned, unmanagable vaults #260
Comments
Discussed this issue with @SailReal. We already have the "claim ownership" dialog in the frontend, if the owner account has been reset. It does not matter if i am the former owner or not, claiming ownership always works the same. Therefore, we could generalize this dialog and show a button in the vault dialog for admins to perform this action. Optionally, we could add an UI item in the dialog where the admin selects a different user as the new owner (because the admin cannot remove itselft from the vault). |
This ticket will be put on hold until the new vault format is introduced. Reason is, that we cannot guarantee in a new REST-endpoint, that the user is allowed to become a vault owner. The only cryptographic proof is the recovery key. To keep the zero-knowledge paradigm, we need to compare the recovery key with the masterky in the frontend/device. But we cannot create a certificate/proof that we actually did this step before calling the REST endpoint. We only have the encrypted masterkey, which is a symmetric key and hence cannot be used in backend. The legacy Workaround: Use the recovery to create a new vault and migrate existing users. |
When using a EC key pair for recovery (i.e. the private key being the recovery key), we can reimplement the feature again in the same way as it has been the case for the vault admin key pair. |
Please agree to the following
Summary
If a user is removed from Hub, but the user was the only-owner of a vault, this vault becomes orphaned. Once orphaned, it cannot be managed anymore, but nobody can claim ownership for it. Keeping it in this state.
System Setup
Steps to Reproduce
Expected Behavior
Claim ownership of vault is possible.
Actual Behavior
Cannot claim ownerhship, even as admin. Vault cannot be managed anymore. Need to use recovery key and manually set up vault members + storage side.
Reproducibility
Always
Relevant Log Output
No response
Anything else?
Current workaround is to recreate the vault with the recovery key, add all members again and replace the vault config on the storage side.
The text was updated successfully, but these errors were encountered: