summaryrefslogtreecommitdiff
path: root/lib/rubygems/security.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/security.rb8
1 files changed, 5 insertions, 3 deletions
@@ -62,11 +62,11 @@ end
#
# $ tar tf your-gem-1.0.gem
# metadata.gz
-# metadata.gz.sum
# metadata.gz.sig # metadata signature
# data.tar.gz
-# data.tar.gz.sum
# data.tar.gz.sig # data signature
#
# === Manually signing gems
#
@@ -161,6 +161,8 @@ end
# -K, --private-key KEY Key for --sign or --build
# -s, --sign CERT Signs CERT with the key from -K
# and the certificate from -C
#
# We've already covered the <code>--build</code> option, and the
# <code>--add</code>, <code>--list</code>, and <code>--remove</code> commands
@@ -265,7 +267,7 @@ end
# 2. Grab the public key from the gemspec
#
# gem spec some_signed_gem-1.0.gem cert_chain | \
-# ruby -ryaml -e 'puts YAML.load_documents($stdin)' > public_key.crt
#
# 3. Generate a SHA1 hash of the data.tar.gz
#