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

Account for deleted forms when encryption is enabled for project #945

Open
matthew-white opened this issue Aug 3, 2023 · 2 comments
Open

Comments

@matthew-white
Copy link
Member

When managed encryption is enabled for a project, a new, encrypted version of each form is created. However, this process skips deleted forms (forms in the trash). That means that if a deleted form is undeleted after encryption is enabled, the form will not be encrypted. Specifically, the following sequence is possible:

  • Create a project.
  • Create and publish a form.
  • Delete the form.
  • Enable encryption for the project.
  • Undelete the form.
  • Observe that the form is not encrypted.

Here are two different approaches that we could consider:

  1. Immediately create new, encrypted form versions even for deleted forms.
  2. Don't change deleted forms, but if/when a form is undeleted, create a new, encrypted form version then.
@dev-rahulbhadoriya
Copy link

@matthew-white is this issue still open?

@matthew-white
Copy link
Member Author

Hi @dev-rahulbhadoriya! Yes, this issue is still open, thanks for asking.

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

No branches or pull requests

2 participants