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

Update README with usage strategy #14

Open
ronaldtse opened this issue Jun 9, 2017 · 1 comment
Open

Update README with usage strategy #14

ronaldtse opened this issue Jun 9, 2017 · 1 comment
Milestone

Comments

@ronaldtse
Copy link
Contributor

From @dadooda

Explain strategy first, add concrete details as tool functionality gets implemented.

The “strategy” doesn’t change over time and is roughly like this:

  1. In the project, create fields for new encrypted values using regular Rails migration(s).
  2. Run stand-alone Transcryptor against the prepared database(s). This step should fail safe.
  3. Once everything settles, create migration(s) to remove old encrypted fields/data.
@ronaldtse
Copy link
Contributor Author

The point is there are two use cases of transcryptor and we should separate them.

  1. Infrequent batch use: migrating from one encryption scheme to another one, maybe only once. There's no need to include transcryptor in the bundle.
  2. Automated re-encryption: Clean and understandable model for recurring re-encryptions #12

@ribose-jeffreylau ribose-jeffreylau added this to the 1.0 milestone Jul 10, 2017
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

2 participants