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

Check OPENSSL_NO_SM4 before using sm4 encryption #11

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

acelyc111
Copy link
Member

@acelyc111 acelyc111 commented Aug 8, 2023

apache/incubator-pegasus#1575

Cherry-pick from tikv@9464766

In some env, user installed openssl by yum install, and the openssl software may compiled with OPENSSL_NO_SM4 flag, so although the version is >= 1.1.1, but we still could not use sm4 in that situation.

@acelyc111 acelyc111 merged commit 0f1574f into pegasus-kv:v8.3.2-pegasus-encrypt Aug 8, 2023
14 of 35 checks passed
acelyc111 added a commit that referenced this pull request Aug 16, 2023
apache/incubator-pegasus#1575

Cherry-pick from
tikv@9464766

In some env, user installed openssl by yum install, and the openssl
software may compiled with OPENSSL_NO_SM4 flag, so although the version
is >= 1.1.1, but we still could not use sm4 in that situation.

Signed-off-by: Jarvis Zheng <[email protected]>
acelyc111 added a commit that referenced this pull request Sep 15, 2023
apache/incubator-pegasus#1575

Cherry-pick from
tikv@9464766

In some env, user installed openssl by yum install, and the openssl
software may compiled with OPENSSL_NO_SM4 flag, so although the version
is >= 1.1.1, but we still could not use sm4 in that situation.

Signed-off-by: Jarvis Zheng <[email protected]>
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