Replies: 4 comments 4 replies
-
Hello @gkerner. I think you can follow guide at https://guides.rubygems.org/security/#building-gems, but instead of generating self signed cert (step 1 and partly step 2) just provide your exisitng signing_key in gemspec (last part of step 2). |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. It's just that the private key isn't extractable (hsm protected) and cannot be converted to pem format. |
Beta Was this translation helpful? Give feedback.
-
Key is passed to rubygems/lib/rubygems/security/signer.rb Line 87 in e7e1487 OpenSSL::PKey::RSA.new accepts can be used.
Do you have any idea (example) how to use HSM with Ruby OpenSSL bindings? |
Beta Was this translation helpful? Give feedback.
-
This fit better to me as a discussion so I migrated it. |
Beta Was this translation helpful? Give feedback.
-
Hi,
How can I sign gem packages with CA Certificate? apparently our private key cannot be extracted from the HSM- I have the certificate only.
This issue is related to:
gem
Here are my current environment details:
Beta Was this translation helpful? Give feedback.
All reactions