Skip to content

Creating a vault inside a vault #4453

Closed

Description

@jnweiger

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Seen with opencloudeu/opencloud-rolling:9.1.0

  • Admin creates a encrypted folder "shared-crypt" (vault), adds a file, and shares the folder with Alan.
  • User Alan can access the vault by entering the correct key.
  • User Alan creates a folder "alans-crypt" inside the received vault, and check the encryption toggle. Alan has to (!) enter a new encryption key and a vault is created. OKish
  • User Alan adds some files into this "vault". OK
  • There is no padlock icon on the new alans-crypt.vault folder. It probably is a simple folder. BAD.
  • Alan believes he has created an encrypted vault, and is happy to keep the key private. BAD.

  • Admin enters his shared-crypt with his key.
  • Admin sees alans-crypt inside, it appears to be a normal folder, although it has the suffix .vault . BAD.
  • He can inspect the files inside without knowing Alans key. BAD

Same, when a guest user receives a shared vault.

Reproduction Steps

create a new vault in a shared vault

Expected Outcome

The "encrypt this folder" option should not be shown when we are inside a received vault.
An encryption key should not be asked for, if it is never used. So misleading.

Actual Outcome

The new vault asks for an encryption key, but that key is not used at all.
The new vault is either unlocked automagically, when the parent is unlocked, or it is not a vault at all...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions