Skip to content

Stray share keys after deleting user #11175

Closed

Description

@PVince81

Steps to reproduce

  1. Enable encryption
  2. Create two users "user1" and "user2"
  3. As "user1" share a folder "sh" with "user2"
  4. Check the share keys in user1/files_encryption/share-keys and see that "user2" has one
  5. As admin, delete user "user2" (and switch page to confirm deletion)
  6. Check the share keys again

Expected result

Share keys from "user2" must be gone

Actual result

Share keys are still there.

Versions

ownCloud 7 stable7 (git 7930440)

@schiesbn

Activity

  1. changed the title [-][stable7] Stray share keys after deleting user[/-] [+]Stray share keys after deleting user[/+] on Mar 28, 2015
  2. PVince81 commented on Mar 28, 2015

    @PVince81
    ContributorAuthor

    Still happens in stable8.

  3. PVince81 commented on Aug 3, 2015

    @PVince81
    ContributorAuthor

    Problem still exists in 8.1.1RC1.
    I guess the encryption app doesn't listen to delete user hooks ? @schiesbn

  4. schiessle commented on Aug 3, 2015

    @schiessle
    Contributor

    It will be gone the next time the file gets manipulated. I think this is enough. The share key doesn't do any harm and it would be quite expensive to search all users files_encryption folder recursively for all share keys from user2.

  5. PVince81 commented on Aug 3, 2015

    @PVince81
    ContributorAuthor

    Okay, fine by me.

  6. locked as resolved and limited conversation to collaborators on Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions