ec2i3 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/ec2i3.rb +7 -6
- metadata +56 -53
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20a55e994fd3792d43267ab4de73b1aa3b117e709cde310ceb0df02c62502487
|
4
|
+
data.tar.gz: 3c8389c2f4ece35d5d45c3e872e43808d7df5fecc795b4e243f7ad769b3a6c78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51b0eb87c5061e52c038ed0e788e471b66b07abe8b5f198448c9e053f03e5d85a5cf2d7864bc25f7a49f9a7debe11875f3c9e4c4506949a6a807576b5aa622e0
|
7
|
+
data.tar.gz: 36b45ff3c9cc2f37a71c807b3a5c8171f827ca77040d2c470b3c2a778586d20f4405391f9b752b63851b0291d640804de6e6fd0582034b0e97e3ee29b6b8c45f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/ec2i3.rb
CHANGED
@@ -19,14 +19,15 @@ class EC2i3 < InstantEC2
|
|
19
19
|
entry = reg.get_key('hkey_apps/ec2i3')
|
20
20
|
|
21
21
|
dp = DynarexPassword.new
|
22
|
-
passphrase = dp.reverse_lookup(entry.text('passphrase'),
|
23
|
-
|
24
|
-
enc_priv_key = entry.text('private_key').split(' ').map(&:to_i).pack('C*')
|
22
|
+
passphrase = dp.reverse_lookup(entry.text('passphrase').to_s,
|
23
|
+
entry.text('lookup_file').to_s)
|
24
|
+
enc_priv_key = entry.text('private_key').to_s.split(' ').map(&:to_i).pack('C*')
|
25
25
|
private_key = Encrypt.load(enc_priv_key, passphrase)
|
26
26
|
|
27
|
-
super credentials: [entry.text('access_key_id'), private_key], async: async
|
27
|
+
super credentials: [entry.text('access_key_id').to_s, private_key], async: async
|
28
28
|
@sps = SPSPub.new address: @address, port: @port
|
29
29
|
|
30
|
+
|
30
31
|
hooks = {
|
31
32
|
running: ->(ip){
|
32
33
|
|
@@ -41,9 +42,9 @@ class EC2i3 < InstantEC2
|
|
41
42
|
@sps.notice msg
|
42
43
|
}
|
43
44
|
}
|
44
|
-
|
45
|
+
|
45
46
|
@hooks.merge! hooks
|
46
|
-
|
47
|
+
|
47
48
|
end
|
48
49
|
|
49
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2i3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,109 +10,113 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwNDIwMTcyODQwWhcN
|
15
|
+
MjAwNDE5MTcyODQwWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDL/6Ta
|
17
|
+
YNsL8XaxmvwVS8X01jVu6Gx542aV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
|
32
|
+
38VrmO0Qm7ZvbrEDs9Iwt83xmiCkXKf8A/JR1Kz6jY/Uf/Vt2kq/5/7BAIEQxR6m
|
33
|
+
83kRBewt6SU2AUjgk6kCMA+vB6d4dVs8HD4LJtwVRLs6eF4iJ48InS8DUxH4VW0Z
|
34
|
+
J67xbhD1ZboM/9q0PjRO7tN+GmuBjxl4qjp9Pf2Uwb2AL5t/ia5l50T6eLEpEZyR
|
35
|
+
kY8iTvw5up87x/GW5A8MuKbaAh/2yyd6DVtEHuqZpkgfsLlSdGEyjxb6JLsp1sVD
|
36
|
+
/6mGGuXQy0/vHYaKgm7lZXdA
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2019-04-20 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: instant_ec2
|
38
42
|
requirement: !ruby/object:Gem::Requirement
|
39
43
|
requirements:
|
40
|
-
- - "~>"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0.1'
|
43
44
|
- - ">="
|
44
45
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
46
|
+
version: 0.2.0
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0.2'
|
46
50
|
type: :runtime
|
47
51
|
prerelease: false
|
48
52
|
version_requirements: !ruby/object:Gem::Requirement
|
49
53
|
requirements:
|
50
|
-
- - "~>"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0.1'
|
53
54
|
- - ">="
|
54
55
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
56
|
+
version: 0.2.0
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.2'
|
56
60
|
- !ruby/object:Gem::Dependency
|
57
61
|
name: sps-pub
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
64
|
- - "~>"
|
61
65
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
66
|
+
version: '0.5'
|
63
67
|
- - ">="
|
64
68
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
69
|
+
version: 0.5.5
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
74
|
- - "~>"
|
71
75
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
76
|
+
version: '0.5'
|
73
77
|
- - ">="
|
74
78
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
79
|
+
version: 0.5.5
|
76
80
|
- !ruby/object:Gem::Dependency
|
77
81
|
name: encrypt
|
78
82
|
requirement: !ruby/object:Gem::Requirement
|
79
83
|
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.1'
|
83
84
|
- - ">="
|
84
85
|
- !ruby/object:Gem::Version
|
85
86
|
version: 0.1.0
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.1'
|
86
90
|
type: :runtime
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
93
|
requirements:
|
90
|
-
- - "~>"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '0.1'
|
93
94
|
- - ">="
|
94
95
|
- !ruby/object:Gem::Version
|
95
96
|
version: 0.1.0
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0.1'
|
96
100
|
- !ruby/object:Gem::Dependency
|
97
101
|
name: xml-registry
|
98
102
|
requirement: !ruby/object:Gem::Requirement
|
99
103
|
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.4'
|
103
104
|
- - ">="
|
104
105
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
106
|
+
version: 0.6.0
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.6'
|
106
110
|
type: :runtime
|
107
111
|
prerelease: false
|
108
112
|
version_requirements: !ruby/object:Gem::Requirement
|
109
113
|
requirements:
|
110
|
-
- - "~>"
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0.4'
|
113
114
|
- - ">="
|
114
115
|
- !ruby/object:Gem::Version
|
115
|
-
version: 0.
|
116
|
+
version: 0.6.0
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0.6'
|
116
120
|
- !ruby/object:Gem::Dependency
|
117
121
|
name: dynarex-password
|
118
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +126,7 @@ dependencies:
|
|
122
126
|
version: '0.1'
|
123
127
|
- - ">="
|
124
128
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.1.
|
129
|
+
version: 0.1.12
|
126
130
|
type: :runtime
|
127
131
|
prerelease: false
|
128
132
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -132,9 +136,9 @@ dependencies:
|
|
132
136
|
version: '0.1'
|
133
137
|
- - ">="
|
134
138
|
- !ruby/object:Gem::Version
|
135
|
-
version: 0.1.
|
139
|
+
version: 0.1.12
|
136
140
|
description:
|
137
|
-
email: james@
|
141
|
+
email: james@jamesrobertson.eu
|
138
142
|
executables: []
|
139
143
|
extensions: []
|
140
144
|
extra_rdoc_files: []
|
@@ -159,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
163
|
- !ruby/object:Gem::Version
|
160
164
|
version: '0'
|
161
165
|
requirements: []
|
162
|
-
|
163
|
-
rubygems_version: 2.4.8
|
166
|
+
rubygems_version: 3.0.1
|
164
167
|
signing_key:
|
165
168
|
specification_version: 4
|
166
169
|
summary: 'EC2 in 3 steps: step 1. register the AWS account details in the XML registry,
|
metadata.gz.sig
CHANGED
Binary file
|