This allows you to cryptographically sign ruby gems, so that a user can later verify that they've downloaded a copy that hasn't been tampered with or hacked.
We should have a less clunky interface. We should deprecate these two commands and incorporate the functionality into the existing install command.
Now that I'm digging into the rubygems code, it seems I can add command line parameters to existing options and hook in via Gem::CommandManager.instance[:install].add_option and hopefully hook into a pre-install hook.
if you specify --verify, we should either verify the gem or abort with an error.
The additional option --get-key should try to retrieve the key from the keyservers.
the existing commands gem verify and gem vinstall should provide a message explaining that syntax is deprecated and show the new syntax.
We should have a less clunky interface. We should deprecate these two commands and incorporate the functionality into the existing install command.
Now that I'm digging into the rubygems code, it seems I can add command line parameters to existing options and hook in via
Gem::CommandManager.instance[:install].add_option
and hopefully hook into a pre-install hook.gem verify
andgem vinstall
should provide a message explaining that syntax is deprecated and show the new syntax.