veil 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/bin/console +6 -0
- data/bin/setup +8 -0
- data/bin/veil-env-helper +47 -0
- data/bin/veil-ingest-secret +41 -0
- data/lib/veil.rb +6 -0
- data/lib/veil/credential.rb +75 -0
- data/lib/veil/credential_collection.rb +18 -0
- data/lib/veil/credential_collection/base.rb +240 -0
- data/lib/veil/credential_collection/chef_secrets_file.rb +105 -0
- data/lib/veil/exceptions.rb +15 -0
- data/lib/veil/hasher.rb +29 -0
- data/lib/veil/hasher/base.rb +44 -0
- data/lib/veil/hasher/bcrypt.rb +59 -0
- data/lib/veil/hasher/pbkdf2.rb +54 -0
- data/lib/veil/utils.rb +25 -0
- data/lib/veil/version.rb +3 -0
- data/spec/credential_collection/base_spec.rb +433 -0
- data/spec/credential_collection/chef_secrets_file_spec.rb +142 -0
- data/spec/credential_collection_spec.rb +30 -0
- data/spec/credential_spec.rb +94 -0
- data/spec/hasher/base_spec.rb +19 -0
- data/spec/hasher/bcrypt_spec.rb +48 -0
- data/spec/hasher/pbkdf2_spec.rb +60 -0
- data/spec/hasher_spec.rb +34 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/utils_spec.rb +25 -0
- data/spec/veil_spec.rb +7 -0
- metadata +157 -0
data/spec/veil_spec.rb
ADDED
metadata
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: veil
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chef Software, Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bcrypt
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pbkdf2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
description: Veil is a Ruby Gem for generating secure secrets from a shared secret
|
84
|
+
email:
|
85
|
+
- partnereng@chef.io
|
86
|
+
executables:
|
87
|
+
- console
|
88
|
+
- setup
|
89
|
+
- veil-env-helper
|
90
|
+
- veil-ingest-secret
|
91
|
+
extensions: []
|
92
|
+
extra_rdoc_files: []
|
93
|
+
files:
|
94
|
+
- LICENSE
|
95
|
+
- bin/console
|
96
|
+
- bin/setup
|
97
|
+
- bin/veil-env-helper
|
98
|
+
- bin/veil-ingest-secret
|
99
|
+
- lib/veil.rb
|
100
|
+
- lib/veil/credential.rb
|
101
|
+
- lib/veil/credential_collection.rb
|
102
|
+
- lib/veil/credential_collection/base.rb
|
103
|
+
- lib/veil/credential_collection/chef_secrets_file.rb
|
104
|
+
- lib/veil/exceptions.rb
|
105
|
+
- lib/veil/hasher.rb
|
106
|
+
- lib/veil/hasher/base.rb
|
107
|
+
- lib/veil/hasher/bcrypt.rb
|
108
|
+
- lib/veil/hasher/pbkdf2.rb
|
109
|
+
- lib/veil/utils.rb
|
110
|
+
- lib/veil/version.rb
|
111
|
+
- spec/credential_collection/base_spec.rb
|
112
|
+
- spec/credential_collection/chef_secrets_file_spec.rb
|
113
|
+
- spec/credential_collection_spec.rb
|
114
|
+
- spec/credential_spec.rb
|
115
|
+
- spec/hasher/base_spec.rb
|
116
|
+
- spec/hasher/bcrypt_spec.rb
|
117
|
+
- spec/hasher/pbkdf2_spec.rb
|
118
|
+
- spec/hasher_spec.rb
|
119
|
+
- spec/spec_helper.rb
|
120
|
+
- spec/utils_spec.rb
|
121
|
+
- spec/veil_spec.rb
|
122
|
+
homepage: https://github.com/chef/chef-server/
|
123
|
+
licenses:
|
124
|
+
- Apache-2.0
|
125
|
+
metadata: {}
|
126
|
+
post_install_message:
|
127
|
+
rdoc_options: []
|
128
|
+
require_paths:
|
129
|
+
- lib
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
requirements: []
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.6.10
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: Veil is a Ruby Gem for generating secure secrets from a shared secret
|
146
|
+
test_files:
|
147
|
+
- spec/credential_collection/base_spec.rb
|
148
|
+
- spec/credential_collection/chef_secrets_file_spec.rb
|
149
|
+
- spec/credential_collection_spec.rb
|
150
|
+
- spec/credential_spec.rb
|
151
|
+
- spec/hasher/base_spec.rb
|
152
|
+
- spec/hasher/bcrypt_spec.rb
|
153
|
+
- spec/hasher/pbkdf2_spec.rb
|
154
|
+
- spec/hasher_spec.rb
|
155
|
+
- spec/spec_helper.rb
|
156
|
+
- spec/utils_spec.rb
|
157
|
+
- spec/veil_spec.rb
|