how to revoke a gemcutter API key?
I posted a bug report and included the output of: gem
env in the bug report.
I only noticed after posting the bug report that this included my gemcutter API key.
...
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://rubygems.org", "http://gems.opscode.com/"]
- "gemcutter_key" => "xxxxxxxxxxxxxxxxxxxxxxxxxx"
However the key displayed by: gem env -- is not the key stored
here: ~/.gem/credentials
Which appears to be what is used now: http://rubygems.org/pages/gem_docs.
A couple of questions:
- Is the gemcutter_key displayed by
gem envstill used? - If so how can I revoke it and get another and how is it
different than the one stored
~/.gem/credentials? - If not how can I erase it so
gem envno longer displays an out-of-date key?
Thanks
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 22 Apr, 2010 02:35 AM
You can safely remove that line from your
~/.gemrc. It's not used anymore after several complaints about this very situation, which is why it lives in~/.gem/credentialsnow.You can reset the API key here if you ever need to: http://rubygems.org/profile
Nick Quaranto closed this discussion on 22 Apr, 2010 02:35 AM.
Stephen Bannasch re-opened this discussion on 22 Apr, 2010 04:32 AM
3 Posted by Stephen Bannasch on 22 Apr, 2010 04:32 AM
Thanks for clearing that up.
Support Staff 4 Posted by Eric Hodel on 22 Apr, 2010 04:40 AM
RubyGems 1.3.7+ will no longer display the gemcutter_key in
gem envso future pasters won't have to worry about this. Instead they'll see "***..."Nick Quaranto closed this discussion on 17 Jul, 2010 08:28 PM.