-
Notifications
You must be signed in to change notification settings - Fork 84
Add gem's public key to repo for cert verification #44
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
62c897a
to
cd2d781
Compare
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.
@VijayanB Could you describe how the certificate was generated?
@jmazanec15 I updated the commit message but forgot to update PR description. Will update it now. |
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.
@VijayanB How did you validate that this works?
If we don't add cert and install with HighSecurity it will fail. I tested this manually and works
While in our case
|
c432105
to
a6daf0f
Compare
This gem is cryptographically signed. To be sure the gem you install hasn’t been tampered with: Add certs/opensearch-rubygems.pem (if you haven’t already) as a trusted certificate gem cert --add <(curl -Ls certs/opensearch-rubygems.pem) gem install logstash-output-openserach -P HighSecurity The HighSecurity trust profile will verify signed gems, and allow only if all the dependencies are signed. This is created by following https://guides.rubygems.org/security/#building-gems Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
a6daf0f
to
db1f8d2
Compare
Signed-off-by: Vijayan Balasubramanian balasvij@amazon.com
Description
This gem is cryptographically signed. To be sure the gem you install hasn’t been tampered with:
Add certs/opensearch-rubygems.pem (if you haven’t already) as a trusted certificate
The HighSecurity trust profile will verify signed gems, and allow only if all the dependencies are signed.
This is created by following https://guides.rubygems.org/security/#building-gems
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.