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

Allow injection of custom cipher #15

Open
albertodebortoli opened this issue Jul 24, 2023 · 0 comments
Open

Allow injection of custom cipher #15

albertodebortoli opened this issue Jul 24, 2023 · 0 comments

Comments

@albertodebortoli
Copy link
Member

In version 0.3.0, ToggleManager accepts an optional CipherConfiguration used to encrypt/decrypt values.
The only supported cipher is ChaCha20Poly1305.

@dchakarov suggested to move ChaCha20Poly1305 out of the package and to leave the implementation of it and/or other Ciphering objects to the integrator.

While I see his point of view, I want to leave it as it is at the moment so to provide a simple solution out-of-the-box.

Would be nice though if the library allowed the injection of a custom cipher.

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