Skip to content

disabling encryption is not possible after changing key storage root #303

@kiranparajuli589

Description

@kiranparajuli589

Steps to reproduce

  1. setup oc-10 /core
  2. encryption app /core/apps-external/encryption
  3. make directory for key storage change mkdir /core/data/oc-keys && sudo chown -R www-data /core/data
  4. enable encryption sudo -u www-data /core/occ encryption:enable
  5. set masterkey type sudo -u www-data /core/occ encryption:select-encryption-type masterkey --yes
  6. encrypt all sudo -u www-data /core/occ encryption:encrypt-all
  7. change key root storage sudo -u www-data /core/occ encryption:change-key-storage-root oc-keys
  8. decrypt all sudo -u www-data /core/occ encryption:decrypt-all
  9. disable encryption sudo -u www-data /core/occ encryption:disable

Expected Behaviour

  • encryption should be disabled

Actual Behaviour

  • encryption disable fails with message: The system still have encrypted files. Please decrypt them all before disabling encryption.

Configurations

  • core: git-latest
  • encryption: git-latest
  • php: 7.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions