-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Generate non-encrypted license public key #34626
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
Conversation
Pinging @elastic/es-security |
Hi @hanbing0715 ! Thank you for your contribution. You are right that there is no need for Would you mind changing the PR title and text to denote that the change has nothing to do with FIPS 140-2 compliance? What this PR changes, is that the public key that |
I already edit the PR titile and text |
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The changes introduced in cca1a2a mean that we should not encrypt the public keys that might be generated by the key-pair-generator when storing the file, as the code that would consume them assumes that they are not encrypted
@jkakavas you have the backport pending label, are you planning to backport to 6.x? If so, please add the appropriate version label. |
The changes introduced in cca1a2a mean that we should not encrypt the public keys that might be generated by the key-pair-generator when storing the file, as the code that would consume them assumes that they are not encrypted
After this commit(cca1a2a), Elasticsearch use fips-140 compliant key-pair to sign x-pack license , which public key is store in plain-text, but the key-pair-generator tool still generate old-style encrypted public key.
This patch edit the key-pair-generator to generate a key pair that public key is not encrypted.