From 4cc0437f9f66c551413535359dc27f1f6fdd0942 Mon Sep 17 00:00:00 2001 From: delano Date: Thu, 15 Dec 2016 10:25:16 -0800 Subject: Added notes for gem signing --- README.rdoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rdoc b/README.rdoc index b0d80cb..1545874 100644 --- a/README.rdoc +++ b/README.rdoc @@ -130,6 +130,19 @@ To run integration tests see test/integration/README.txt rake build +=== GEM SIGNING (for maintainers) + +If you have the net-ssh private signing key, you will be able to create signed release builds. Make sure the private key path matches the `signing_key` path set in `net-ssh.gemspec` and tell rake to sign the gem by setting the `NET_SSH_BUILDGEM_SIGNED` flag: + + NET_SSH_BUILDGEM_SIGNED=true rake build + +For time to time, the public certificate associated to the private key needs to be renewed. You can do this with the following command: + + gem cert --build netssh@solutious.com --private-key path/2/net-ssh-private_key.pem + mv gem-public_cert.pem net-ssh-public_cert.pem + gem cert --add net-ssh-public_cert.pem + + == LICENSE: (The MIT License) -- cgit v1.2.1