Skip to content

Adding default_engine Class var#509

Open
craig-rueda wants to merge 1 commit intokvesteri:masterfrom
craig-rueda:default-engine
Open

Adding default_engine Class var#509
craig-rueda wants to merge 1 commit intokvesteri:masterfrom
craig-rueda:default-engine

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.

3 participants