    # File lib/chef/config.rb, line 32
        def self.manage_secret_key
          newkey = nil
          if Chef::FileCache.has_key?("chef_server_cookie_id")
            newkey = Chef::FileCache.load("chef_server_cookie_id")
          else
            chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a
            newkey = ""
            40.times { |i| newkey << chars[rand(chars.size-1)] }
            Chef::FileCache.store("chef_server_cookie_id", newkey)
          end
          newkey
        end