method
description
v2_1_10 -
Show latest stable
-
0 notes -
Class: CertCommand
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
description()
public
Hide source
# File lib/rubygems/commands/cert_command.rb, line 164 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