chef 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of chef might be problematic. Click here for more details.
- data/lib/chef.rb +1 -1
- data/lib/chef/certificate.rb +1 -1
- data/lib/chef/streaming_cookbook_uploader.rb +1 -1
- metadata +3 -3
data/lib/chef.rb
CHANGED
data/lib/chef/certificate.rb
CHANGED
@@ -71,7 +71,7 @@ class Chef
|
|
71
71
|
ca_cert.sign keypair, OpenSSL::Digest::SHA1.new
|
72
72
|
|
73
73
|
File.open(ca_cert_file, "w") { |f| f.write ca_cert.to_pem }
|
74
|
-
File.open(ca_keypair_file,
|
74
|
+
File.open(ca_keypair_file, File::WRONLY|File::EXCL|File::CREAT, 0600) { |f| f.write keypair.to_pem }
|
75
75
|
end
|
76
76
|
self
|
77
77
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
8
|
+
- 4
|
9
|
+
version: 0.8.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Adam Jacob
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-02
|
17
|
+
date: 2010-03-02 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|