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

Add example of encrypting field nested in an array #5

Open
ctrimble opened this issue Jun 1, 2016 · 0 comments
Open

Add example of encrypting field nested in an array #5

ctrimble opened this issue Jun 1, 2016 · 0 comments
Labels

Comments

@ctrimble
Copy link
Contributor

ctrimble commented Jun 1, 2016

We recently had trouble encrypting a password nested under the /metrics/reporters path, using the provided instructions. This seems like a common use case and should be addressed by an example and an automated test.

We could run the following process:

  • define which field was encrypted, using a mixin.
  • encrypt the value, using the provided instructions, in a separate file.
  • copy and paste the generated value into the configuration file.
  • launch the app.

We could not:

  • write the clear text value into the configuration file.
  • generate an encrypted form of the configuration file using the clear text form of the configuration file and a JSON pointer to the field requiring encryption.
@ctrimble ctrimble added the bug label Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant