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

Make CryptorContext extensible #542

Open
tposavec opened this issue Aug 3, 2023 · 0 comments
Open

Make CryptorContext extensible #542

tposavec opened this issue Aug 3, 2023 · 0 comments
Labels
tech-debt Problems that need to be solved but not immediately

Comments

@tposavec
Copy link
Contributor

tposavec commented Aug 3, 2023

In lock-keeper/src/crypto/cryptor.rs we have a type CryptorContext which is currently fairly specific to our use case.

We should consider making this a trait and require the calling application to define appropriate context for each of their encrypted types.

@tposavec tposavec added the tech-debt Problems that need to be solved but not immediately label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Problems that need to be solved but not immediately
Projects
None yet
Development

No branches or pull requests

1 participant