summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelano <delano@solutious.com>2016-12-15 10:25:16 -0800
committerdelano <delano@solutious.com>2016-12-15 10:25:16 -0800
commit4cc0437f9f66c551413535359dc27f1f6fdd0942 (patch)
tree0e9981cf0dbc4395033565eae9ebb30c84506047
parentef14b33557b65d4d51b7104720cf24202465fe04 (diff)
downloadnet-ssh-20161215-updatecert.tar.gz
Added notes for gem signing20161215-updatecert
-rw-r--r--README.rdoc13
1 files changed, 13 insertions, 0 deletions
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)