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

Throw an initialization exception when Symmetric Encryption is configured on Hazelcast OS version #12203

Closed
kwart opened this issue Jan 26, 2018 · 0 comments

Comments

@kwart
Copy link
Contributor

@kwart kwart commented Jan 26, 2018

It's possible to configure symmetric encryption on Hazelcast member in open-source edition. Nevertheless the configuration is silently ignored.

Enabling the Symmetric encryption on an OS member should behave in the same way as enabling security or TLS. The initialization should fail.

    Config cfg = new Config();
    SymmetricEncryptionConfig symmetricEncryptionConfig= new SymmetricEncryptionConfig().setEnabled(true);
    cfg.getNetworkConfig().setSymmetricEncryptionConfig(symmetricEncryptionConfig);
    HazelcastInstance instance = Hazelcast.newHazelcastInstance(cfg);
@kwart kwart self-assigned this Jan 26, 2018
kwart added a commit to kwart/hazelcast that referenced this issue Jan 26, 2018
…ic Encryption is configured on Hazelcast OS version.
@kwart kwart closed this in #12204 Jan 29, 2018
kwart added a commit that referenced this issue Jan 29, 2018
[#12203] Throw an initialization exception when Symmetric Encryption is configured on Hazelcast OS version
@kwart kwart added this to the 3.10 milestone Jan 29, 2018
kwart added a commit to kwart/hazelcast that referenced this issue Jan 29, 2018
kwart added a commit to kwart/hazelcast that referenced this issue Jan 29, 2018
kwart added a commit to kwart/hazelcast that referenced this issue Jan 29, 2018
kwart added a commit to kwart/hazelcast that referenced this issue Jan 29, 2018
mmedenjak added a commit that referenced this issue Jan 29, 2018
…ests

[#12203] Fix tests for symmetric entcryption configuration related changes in OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.