opscode/chef_authn — pull request #5 by seth (2012-11-28 05:28:37+00:00)
Title: Add extract_public_key helper and bug fixes for chef_authn

This PR enhances chef_authn:extract_public_or_private_key so that it
behaves properly when given an X509 certficate containing a public key
as well as fixes behavior when given invalid key data.

In addition, a new helper specific to public key extraction is added.
This can be used by erchef to validate public_key data sent to the
server.