diff options
author | John McCrae <john.mccrae@progress.com> | 2022-01-05 10:07:34 -0800 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-01-31 15:54:55 -0800 |
commit | 80a4eb487a9eb77fc3820fbca5d181523928a407 (patch) | |
tree | 4efa00170b14f4b153c0232d62bdb303c15413e5 /lib | |
parent | d14c4be7e5ce3a4ed2c5afd914e181e124914a37 (diff) | |
download | chef-80a4eb487a9eb77fc3820fbca5d181523928a407.tar.gz |
Updated the chef client to retrieve certs from the Windows registry. Tests included. This is PR3 since I keep trashing them
Signed-off-by: John McCrae <john.mccrae@progress.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/http/authenticator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/http/authenticator.rb b/lib/chef/http/authenticator.rb index 7aeaba91cb..fbd78205c9 100644 --- a/lib/chef/http/authenticator.rb +++ b/lib/chef/http/authenticator.rb @@ -160,6 +160,7 @@ class Chef if present.nil? || present.empty? raise Chef::Exceptions::Win32RegKeyMissing end + if present.map { |h| h[:name] }[0] == "PfxPass" present.map { |h| h[:data] }[0].to_s end |