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

Transit Encryption #98

Open
gawsoftpl opened this issue Jan 24, 2024 · 0 comments
Open

Transit Encryption #98

gawsoftpl opened this issue Jan 24, 2024 · 0 comments

Comments

@gawsoftpl
Copy link

gawsoftpl commented Jan 24, 2024

I would like to write new class for encrypt data via transit for example in Hashicorp Vault.
I'm wondering whether to write a new Backend class or KeyProvider class?

Solution 1 new backend class:
when execute encrypt, method will send request to vault server for encrypt data

Solution 2 new key provider class:
Store CIPHERSWEET_KEY as encrypted string by vault transit
when execute getSymetricKey method will send request to vault server for decrypt CIPHERSWEET_KEY

Which solution will be the best?

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