leap_cli 1.6.2 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  module LeapCli
2
2
  unless defined?(LeapCli::VERSION)
3
- VERSION = '1.6.2'
4
- COMPATIBLE_PLATFORM_VERSION = '0.6.0'..'1.99'
3
+ VERSION = '1.7.3'
4
+ COMPATIBLE_PLATFORM_VERSION = '0.7'..'0.99'
5
5
  SUMMARY = 'Command line interface to the LEAP platform'
6
6
  DESCRIPTION = 'The command "leap" can be used to manage a bevy of servers running the LEAP platform from the comfort of your own home.'
7
7
  LOAD_PATHS = ['lib', 'vendor/certificate_authority/lib', 'vendor/rsync_command/lib']
@@ -108,9 +108,9 @@ module CertificateAuthority
108
108
  end
109
109
 
110
110
  if signing_profile["digest"].nil?
111
- digest = OpenSSL::Digest::Digest.new("SHA512")
111
+ digest = OpenSSL::Digest.new("SHA512")
112
112
  else
113
- digest = OpenSSL::Digest::Digest.new(signing_profile["digest"])
113
+ digest = OpenSSL::Digest.new(signing_profile["digest"])
114
114
  end
115
115
 
116
116
  self.openssl_body = openssl_cert.sign(parent.key_material.private_key, digest)
@@ -59,9 +59,9 @@ module CertificateAuthority
59
59
 
60
60
  signing_cert = OpenSSL::X509::Certificate.new(self.parent.to_pem)
61
61
  if signing_profile["digest"].nil?
62
- digest = OpenSSL::Digest::Digest.new("SHA512")
62
+ digest = OpenSSL::Digest.new("SHA512")
63
63
  else
64
- digest = OpenSSL::Digest::Digest.new(signing_profile["digest"])
64
+ digest = OpenSSL::Digest.new(signing_profile["digest"])
65
65
  end
66
66
  crl.issuer = signing_cert.subject
67
67
  self.crl_body = crl.sign(self.parent.key_material.private_key, digest)
@@ -62,7 +62,7 @@ module CertificateAuthority
62
62
  opensslcsr.subject = @distinguished_name.to_x509_name
63
63
  opensslcsr.public_key = @key_material.public_key
64
64
  opensslcsr.attributes = @attributes unless @attributes.nil?
65
- opensslcsr.sign @key_material.private_key, OpenSSL::Digest::Digest.new(@digest || "SHA512")
65
+ opensslcsr.sign @key_material.private_key, OpenSSL::Digest.new(@digest || "SHA512")
66
66
  opensslcsr
67
67
  end
68
68
 
metadata CHANGED
@@ -1,238 +1,173 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leap_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
5
- prerelease:
4
+ version: 1.7.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - LEAP Encryption Access Project
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-12-11 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '5.0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '5.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: gli
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.12'
34
+ - - ">="
36
35
  - !ruby/object:Gem::Version
37
36
  version: 2.12.0
38
37
  type: :runtime
39
38
  prerelease: false
40
39
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
40
  requirements:
43
- - - ~>
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.12'
44
+ - - ">="
44
45
  - !ruby/object:Gem::Version
45
46
  version: 2.12.0
46
47
  - !ruby/object:Gem::Dependency
47
48
  name: command_line_reporter
48
49
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '3.3'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
57
  requirements:
59
- - - ! '>='
58
+ - - "~>"
60
59
  - !ruby/object:Gem::Version
61
- version: '0'
60
+ version: '3.3'
62
61
  - !ruby/object:Gem::Dependency
63
62
  name: highline
64
63
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
64
  requirements:
67
- - - ! '>='
65
+ - - "~>"
68
66
  - !ruby/object:Gem::Version
69
- version: '0'
67
+ version: '1.6'
70
68
  type: :runtime
71
69
  prerelease: false
72
70
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
71
  requirements:
75
- - - ! '>='
72
+ - - "~>"
76
73
  - !ruby/object:Gem::Version
77
- version: '0'
74
+ version: '1.6'
78
75
  - !ruby/object:Gem::Dependency
79
76
  name: paint
80
77
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
78
  requirements:
83
- - - ! '>='
79
+ - - "~>"
84
80
  - !ruby/object:Gem::Version
85
- version: '0'
81
+ version: '0.9'
86
82
  type: :runtime
87
83
  prerelease: false
88
84
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
85
  requirements:
91
- - - ! '>='
86
+ - - "~>"
92
87
  - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: tee
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :runtime
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
88
+ version: '0.9'
110
89
  - !ruby/object:Gem::Dependency
111
90
  name: net-ssh
112
91
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
92
  requirements:
115
- - - ~>
93
+ - - "~>"
116
94
  - !ruby/object:Gem::Version
117
95
  version: 2.7.0
118
96
  type: :runtime
119
97
  prerelease: false
120
98
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
99
  requirements:
123
- - - ~>
100
+ - - "~>"
124
101
  - !ruby/object:Gem::Version
125
102
  version: 2.7.0
126
103
  - !ruby/object:Gem::Dependency
127
104
  name: capistrano
128
105
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
106
  requirements:
131
- - - ~>
107
+ - - "~>"
132
108
  - !ruby/object:Gem::Version
133
109
  version: 2.15.5
134
110
  type: :runtime
135
111
  prerelease: false
136
112
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
113
  requirements:
139
- - - ~>
114
+ - - "~>"
140
115
  - !ruby/object:Gem::Version
141
116
  version: 2.15.5
142
- - !ruby/object:Gem::Dependency
143
- name: gpgme
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- type: :runtime
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
117
  - !ruby/object:Gem::Dependency
159
118
  name: ya2yaml
160
119
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
120
  requirements:
163
- - - ! '>='
121
+ - - "~>"
164
122
  - !ruby/object:Gem::Version
165
- version: '0'
123
+ version: '0.31'
166
124
  type: :runtime
167
125
  prerelease: false
168
126
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
127
  requirements:
171
- - - ! '>='
128
+ - - "~>"
172
129
  - !ruby/object:Gem::Version
173
- version: '0'
130
+ version: '0.31'
174
131
  - !ruby/object:Gem::Dependency
175
132
  name: json_pure
176
133
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
134
  requirements:
179
- - - ! '>='
135
+ - - "~>"
180
136
  - !ruby/object:Gem::Version
181
- version: '0'
137
+ version: '1.8'
182
138
  type: :runtime
183
139
  prerelease: false
184
140
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
141
  requirements:
187
- - - ! '>='
142
+ - - "~>"
188
143
  - !ruby/object:Gem::Version
189
- version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: versionomy
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :runtime
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
144
+ version: '1.8'
206
145
  - !ruby/object:Gem::Dependency
207
146
  name: base32
208
147
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
148
  requirements:
211
- - - ! '>='
149
+ - - "~>"
212
150
  - !ruby/object:Gem::Version
213
- version: '0'
151
+ version: '0.3'
214
152
  type: :runtime
215
153
  prerelease: false
216
154
  version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
155
  requirements:
219
- - - ! '>='
156
+ - - "~>"
220
157
  - !ruby/object:Gem::Version
221
- version: '0'
158
+ version: '0.3'
222
159
  - !ruby/object:Gem::Dependency
223
160
  name: activemodel
224
161
  requirement: !ruby/object:Gem::Requirement
225
- none: false
226
162
  requirements:
227
- - - ! '>='
163
+ - - ">="
228
164
  - !ruby/object:Gem::Version
229
165
  version: 3.0.6
230
166
  type: :runtime
231
167
  prerelease: false
232
168
  version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
169
  requirements:
235
- - - ! '>='
170
+ - - ">="
236
171
  - !ruby/object:Gem::Version
237
172
  version: 3.0.6
238
173
  description: The command "leap" can be used to manage a bevy of servers running the
@@ -243,84 +178,88 @@ executables:
243
178
  extensions: []
244
179
  extra_rdoc_files: []
245
180
  files:
246
- - lib/leap_cli.rb
181
+ - bin/leap
247
182
  - lib/leap/platform.rb
248
- - lib/leap_cli/markdown_document_listener.rb
249
- - lib/leap_cli/ssh_key.rb
250
- - lib/leap_cli/commands/facts.rb
183
+ - lib/leap_cli.rb
251
184
  - lib/leap_cli/commands/ca.rb
252
- - lib/leap_cli/commands/pre.rb
185
+ - lib/leap_cli/commands/clean.rb
253
186
  - lib/leap_cli/commands/compile.rb
254
187
  - lib/leap_cli/commands/db.rb
255
- - lib/leap_cli/commands/user.rb
256
- - lib/leap_cli/commands/ssh.rb
257
- - lib/leap_cli/commands/node.rb
258
- - lib/leap_cli/commands/clean.rb
259
- - lib/leap_cli/commands/test.rb
260
- - lib/leap_cli/commands/util.rb
188
+ - lib/leap_cli/commands/deploy.rb
261
189
  - lib/leap_cli/commands/env.rb
190
+ - lib/leap_cli/commands/facts.rb
191
+ - lib/leap_cli/commands/inspect.rb
262
192
  - lib/leap_cli/commands/list.rb
263
- - lib/leap_cli/commands/node_init.rb
264
193
  - lib/leap_cli/commands/new.rb
265
- - lib/leap_cli/commands/deploy.rb
266
- - lib/leap_cli/commands/inspect.rb
194
+ - lib/leap_cli/commands/node.rb
195
+ - lib/leap_cli/commands/node_init.rb
196
+ - lib/leap_cli/commands/pre.rb
197
+ - lib/leap_cli/commands/ssh.rb
198
+ - lib/leap_cli/commands/test.rb
199
+ - lib/leap_cli/commands/user.rb
200
+ - lib/leap_cli/commands/util.rb
267
201
  - lib/leap_cli/commands/vagrant.rb
268
- - lib/leap_cli/lib_ext/gli.rb
269
- - lib/leap_cli/lib_ext/capistrano_connections.rb
270
- - lib/leap_cli/util/remote_command.rb
271
- - lib/leap_cli/util/secret.rb
272
- - lib/leap_cli/util/x509.rb
273
- - lib/leap_cli/remote/tasks.rb
274
- - lib/leap_cli/remote/rsync_plugin.rb
275
- - lib/leap_cli/remote/puppet_plugin.rb
276
- - lib/leap_cli/remote/leap_plugin.rb
277
- - lib/leap_cli/core_ext/yaml.rb
202
+ - lib/leap_cli/config/filter.rb
203
+ - lib/leap_cli/config/manager.rb
204
+ - lib/leap_cli/config/node.rb
205
+ - lib/leap_cli/config/object.rb
206
+ - lib/leap_cli/config/object_list.rb
207
+ - lib/leap_cli/config/provider.rb
208
+ - lib/leap_cli/config/secrets.rb
209
+ - lib/leap_cli/config/sources.rb
210
+ - lib/leap_cli/config/tag.rb
211
+ - lib/leap_cli/core_ext/boolean.rb
212
+ - lib/leap_cli/core_ext/deep_dup.rb
278
213
  - lib/leap_cli/core_ext/hash.rb
279
214
  - lib/leap_cli/core_ext/json.rb
280
215
  - lib/leap_cli/core_ext/nil.rb
281
- - lib/leap_cli/core_ext/boolean.rb
282
216
  - lib/leap_cli/core_ext/string.rb
283
- - lib/leap_cli/override/json.rb
284
- - lib/leap_cli/path.rb
285
- - lib/leap_cli/leapfile.rb
217
+ - lib/leap_cli/core_ext/time.rb
218
+ - lib/leap_cli/core_ext/yaml.rb
286
219
  - lib/leap_cli/exceptions.rb
220
+ - lib/leap_cli/leapfile.rb
221
+ - lib/leap_cli/lib_ext/capistrano_connections.rb
222
+ - lib/leap_cli/lib_ext/gli.rb
223
+ - lib/leap_cli/load_paths.rb
287
224
  - lib/leap_cli/log.rb
288
- - lib/leap_cli/util.rb
289
- - lib/leap_cli/config/manager.rb
290
- - lib/leap_cli/config/object.rb
291
- - lib/leap_cli/config/tag.rb
292
- - lib/leap_cli/config/filter.rb
293
- - lib/leap_cli/config/object_list.rb
294
- - lib/leap_cli/config/provider.rb
295
- - lib/leap_cli/config/secrets.rb
296
- - lib/leap_cli/config/node.rb
297
225
  - lib/leap_cli/logger.rb
298
- - lib/leap_cli/load_paths.rb
226
+ - lib/leap_cli/markdown_document_listener.rb
227
+ - lib/leap_cli/override/json.rb
228
+ - lib/leap_cli/path.rb
229
+ - lib/leap_cli/remote/leap_plugin.rb
230
+ - lib/leap_cli/remote/puppet_plugin.rb
231
+ - lib/leap_cli/remote/rsync_plugin.rb
232
+ - lib/leap_cli/remote/tasks.rb
233
+ - lib/leap_cli/ssh_key.rb
234
+ - lib/leap_cli/util.rb
235
+ - lib/leap_cli/util/remote_command.rb
236
+ - lib/leap_cli/util/secret.rb
237
+ - lib/leap_cli/util/x509.rb
299
238
  - lib/leap_cli/version.rb
300
- - bin/leap
301
- - vendor/rsync_command/test/rsync_test.rb
302
- - vendor/rsync_command/test/ssh_options_test.rb
303
- - vendor/rsync_command/lib/rsync_command/ssh_options.rb
304
- - vendor/rsync_command/lib/rsync_command/thread_pool.rb
305
- - vendor/rsync_command/lib/rsync_command/version.rb
306
- - vendor/rsync_command/lib/rsync_command.rb
307
239
  - vendor/certificate_authority/lib/certificate_authority.rb
308
- - vendor/certificate_authority/lib/certificate_authority/serial_number.rb
309
- - vendor/certificate_authority/lib/certificate_authority/pkcs11_key_material.rb
310
- - vendor/certificate_authority/lib/certificate_authority/key_material.rb
240
+ - vendor/certificate_authority/lib/certificate_authority/certificate.rb
241
+ - vendor/certificate_authority/lib/certificate_authority/certificate_revocation_list.rb
242
+ - vendor/certificate_authority/lib/certificate_authority/distinguished_name.rb
311
243
  - vendor/certificate_authority/lib/certificate_authority/extensions.rb
244
+ - vendor/certificate_authority/lib/certificate_authority/key_material.rb
245
+ - vendor/certificate_authority/lib/certificate_authority/ocsp_handler.rb
246
+ - vendor/certificate_authority/lib/certificate_authority/pkcs11_key_material.rb
312
247
  - vendor/certificate_authority/lib/certificate_authority/revocable.rb
313
- - vendor/certificate_authority/lib/certificate_authority/certificate.rb
248
+ - vendor/certificate_authority/lib/certificate_authority/serial_number.rb
314
249
  - vendor/certificate_authority/lib/certificate_authority/signing_entity.rb
315
- - vendor/certificate_authority/lib/certificate_authority/certificate_revocation_list.rb
316
250
  - vendor/certificate_authority/lib/certificate_authority/signing_request.rb
317
- - vendor/certificate_authority/lib/certificate_authority/ocsp_handler.rb
318
- - vendor/certificate_authority/lib/certificate_authority/distinguished_name.rb
319
- - vendor/vagrant_ssh_keys/vagrant.pub
251
+ - vendor/rsync_command/lib/rsync_command.rb
252
+ - vendor/rsync_command/lib/rsync_command/ssh_options.rb
253
+ - vendor/rsync_command/lib/rsync_command/thread_pool.rb
254
+ - vendor/rsync_command/lib/rsync_command/version.rb
255
+ - vendor/rsync_command/test/rsync_test.rb
256
+ - vendor/rsync_command/test/ssh_options_test.rb
320
257
  - vendor/vagrant_ssh_keys/vagrant.key
258
+ - vendor/vagrant_ssh_keys/vagrant.pub
321
259
  homepage: https://leap.se
322
260
  licenses:
323
261
  - MIT
262
+ metadata: {}
324
263
  post_install_message:
325
264
  rdoc_options: []
326
265
  require_paths:
@@ -329,21 +268,19 @@ require_paths:
329
268
  - vendor/certificate_authority/lib
330
269
  - vendor/rsync_command/lib
331
270
  required_ruby_version: !ruby/object:Gem::Requirement
332
- none: false
333
271
  requirements:
334
- - - ! '>='
272
+ - - ">="
335
273
  - !ruby/object:Gem::Version
336
274
  version: '0'
337
275
  required_rubygems_version: !ruby/object:Gem::Requirement
338
- none: false
339
276
  requirements:
340
- - - ! '>='
277
+ - - ">="
341
278
  - !ruby/object:Gem::Version
342
279
  version: '0'
343
280
  requirements: []
344
281
  rubyforge_project:
345
- rubygems_version: 1.8.23
282
+ rubygems_version: 2.2.2
346
283
  signing_key:
347
- specification_version: 3
284
+ specification_version: 4
348
285
  summary: Command line interface to the LEAP platform
349
286
  test_files: []