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

Adding default_engine Class var #509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

craig-rueda
Copy link

Adds new class variable default_engine to StringEncryptedType to allow for overriding of default behavior. Currently, StringEncryptedType's ctor is hard-coded to utilize the AesEngine if no other engine is specified. This PR allows the default engine to be configured during app bootstrap.

@kurtmckee
Copy link
Collaborator

@craig-rueda It seems like it's already possible to override default behavior by specifying the encryption engine when instantiating the class.

@kvesteri I recommend closing this PR. Would you review and make a determination?

@kvesteri
Copy link
Owner

I see the reason for this kind of functionality. However there are merge conflicts and this PR is missing unit tests.

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

Successfully merging this pull request may close these issues.

None yet

3 participants