opscode/chef — pull request #537 by danielsdeleo (2012-12-12 22:56:23+00:00)
Title: Chef 3662 Backport to 10-stable

Adds forward compatibility with Chef 11 server for `knife client reregister`.

As we discussed this patch does not include a change to ApiClient#to_json (patch on master includes private_key in the output of #to_json). This ensures that the chef server will not inadvertently store the private key in the database.