method
description
v2_5_5 -
Show latest stable
- Class:
Gem::Commands::CertCommand
description()public
No documentation available.
# File lib/rubygems/commands/cert_command.rb, line 180
def description # :nodoc:
The cert command manages signing keys and certificates for creating signedgems. Your signing certificate and private key are typically stored in~/.gem/gem-public_cert.pem and ~/.gem/gem-private_key.pem respectively.To build a certificate for signing gems: gem cert --build you@exampleIf you already have an RSA key, or are creating a new certificate for anexisting key: gem cert --build you@example --private-key /path/to/key.pemIf you wish to trust a certificate you can add it to the trust list with: gem cert --add /path/to/cert.pemYou can list trusted certificates with: gem cert --listor: gem cert --list cert_subject_substringIf you wish to remove a previously trusted certificate: gem cert --remove cert_subject_substringTo sign another gem author's certificate: gem cert --sign /path/to/other_cert.pemFor further reading on signing gems see `ri Gem::Security`.
end