Skip to content
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

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

Open
kiranparajuli589 opened this issue Sep 21, 2021 · 0 comments

Comments

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Sep 21, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant