varanus 0.7.1 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +109 -59
- data/docker-compose.yml +1 -1
- data/lib/varanus/ssl/csr.rb +6 -2
- data/lib/varanus/version.rb +1 -1
- data/varanus.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 806b45f188f1d18b63d3a86473ecc2574d8cd310edebdb990ffa6d7e7ff954b2
|
4
|
+
data.tar.gz: 5dcdf1d543e85c8b4e4c63e843ebafc4fce3920c7b5a678ed242c7d0851c85d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21274fac02943441d901d35402c6af6cf5c60e940c606033bf75969abe33f086137512e91691f58fb022726c91cb1f795a89b7bfbd807f625b548d55315ba293
|
7
|
+
data.tar.gz: 8259aa8ec33a5a479b73c43934cae97e491d82e3330e71ed29480fab07c37fefdb39c3e2070e002263235f739c5c3b96383c982ba732fa87a49022996daf6a92
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### Version 0.8.1 (2024-09-27)
|
2
|
+
* Fix gem build issues
|
3
|
+
|
4
|
+
### Version 0.8.0 (2024-09-27)
|
5
|
+
* Varanus::SSL::CSR - improve support for subclassing
|
6
|
+
* Varanus::SSL::CSR.generate - support an EC key being passed in
|
7
|
+
|
1
8
|
### Version 0.7.1 (2022-01-31)
|
2
9
|
* Varanus::SSL#certificate_types_standard - also exclude 'Extended Validation'
|
3
10
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
varanus (0.
|
4
|
+
varanus (0.8.1)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
7
|
savon (~> 2.0)
|
@@ -9,91 +9,141 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
addressable (2.7
|
13
|
-
public_suffix (>= 2.0.2, <
|
14
|
-
akami (1.3.
|
12
|
+
addressable (2.8.7)
|
13
|
+
public_suffix (>= 2.0.2, < 7.0)
|
14
|
+
akami (1.3.3)
|
15
|
+
base64
|
15
16
|
gyoku (>= 0.4.0)
|
16
17
|
nokogiri
|
17
|
-
ast (2.4.
|
18
|
-
|
19
|
-
|
18
|
+
ast (2.4.2)
|
19
|
+
base64 (0.2.0)
|
20
|
+
bigdecimal (3.1.8)
|
21
|
+
builder (3.3.0)
|
22
|
+
crack (1.0.0)
|
23
|
+
bigdecimal
|
20
24
|
rexml
|
21
|
-
|
22
|
-
|
25
|
+
date (3.3.4)
|
26
|
+
docile (1.4.1)
|
27
|
+
faraday (1.10.4)
|
28
|
+
faraday-em_http (~> 1.0)
|
29
|
+
faraday-em_synchrony (~> 1.0)
|
30
|
+
faraday-excon (~> 1.1)
|
31
|
+
faraday-httpclient (~> 1.0)
|
32
|
+
faraday-multipart (~> 1.0)
|
23
33
|
faraday-net_http (~> 1.0)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
34
|
+
faraday-net_http_persistent (~> 1.0)
|
35
|
+
faraday-patron (~> 1.0)
|
36
|
+
faraday-rack (~> 1.0)
|
37
|
+
faraday-retry (~> 1.0)
|
38
|
+
ruby2_keywords (>= 0.0.4)
|
39
|
+
faraday-em_http (1.0.0)
|
40
|
+
faraday-em_synchrony (1.0.0)
|
41
|
+
faraday-excon (1.1.0)
|
42
|
+
faraday-httpclient (1.0.1)
|
43
|
+
faraday-multipart (1.0.4)
|
44
|
+
multipart-post (~> 2)
|
45
|
+
faraday-net_http (1.0.2)
|
46
|
+
faraday-net_http_persistent (1.2.0)
|
47
|
+
faraday-patron (1.0.0)
|
48
|
+
faraday-rack (1.0.0)
|
49
|
+
faraday-retry (1.0.3)
|
50
|
+
faraday_middleware (1.2.1)
|
28
51
|
faraday (~> 1.0)
|
29
|
-
gyoku (1.
|
52
|
+
gyoku (1.4.0)
|
30
53
|
builder (>= 2.1.2)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
54
|
+
rexml (~> 3.0)
|
55
|
+
hashdiff (1.1.1)
|
56
|
+
httpi (4.0.4)
|
57
|
+
base64
|
58
|
+
mutex_m
|
59
|
+
nkf
|
60
|
+
rack (>= 2.0, < 4)
|
61
|
+
json (2.7.2)
|
62
|
+
language_server-protocol (3.17.0.3)
|
63
|
+
mail (2.8.1)
|
64
|
+
mini_mime (>= 0.1.1)
|
65
|
+
net-imap
|
66
|
+
net-pop
|
67
|
+
net-smtp
|
68
|
+
mini_mime (1.1.5)
|
69
|
+
minitest (5.25.1)
|
70
|
+
minitest-rg (5.3.0)
|
37
71
|
minitest (~> 5.0)
|
38
|
-
mocha (
|
39
|
-
|
40
|
-
|
72
|
+
mocha (2.4.5)
|
73
|
+
ruby2_keywords (>= 0.0.5)
|
74
|
+
multipart-post (2.4.1)
|
75
|
+
mutex_m (0.2.0)
|
76
|
+
net-imap (0.4.16)
|
77
|
+
date
|
78
|
+
net-protocol
|
79
|
+
net-pop (0.1.2)
|
80
|
+
net-protocol
|
81
|
+
net-protocol (0.2.2)
|
82
|
+
timeout
|
83
|
+
net-smtp (0.5.0)
|
84
|
+
net-protocol
|
85
|
+
nkf (0.2.0)
|
86
|
+
nokogiri (1.16.7-x86_64-linux)
|
41
87
|
racc (~> 1.4)
|
42
|
-
nori (2.
|
43
|
-
|
44
|
-
|
88
|
+
nori (2.7.1)
|
89
|
+
bigdecimal
|
90
|
+
parallel (1.26.3)
|
91
|
+
parser (3.3.5.0)
|
45
92
|
ast (~> 2.4.1)
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
93
|
+
racc
|
94
|
+
public_suffix (6.0.1)
|
95
|
+
racc (1.8.1)
|
96
|
+
rack (3.1.7)
|
97
|
+
rainbow (3.1.1)
|
50
98
|
rake (10.5.0)
|
51
|
-
regexp_parser (2.
|
52
|
-
rexml (3.
|
53
|
-
rubocop (1.
|
99
|
+
regexp_parser (2.9.2)
|
100
|
+
rexml (3.3.7)
|
101
|
+
rubocop (1.66.1)
|
102
|
+
json (~> 2.3)
|
103
|
+
language_server-protocol (>= 3.17.0)
|
54
104
|
parallel (~> 1.10)
|
55
|
-
parser (>=
|
105
|
+
parser (>= 3.3.0.2)
|
56
106
|
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>=
|
58
|
-
|
59
|
-
rubocop-ast (>= 1.2.0, < 2.0)
|
107
|
+
regexp_parser (>= 2.4, < 3.0)
|
108
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
60
109
|
ruby-progressbar (~> 1.7)
|
61
|
-
unicode-display_width (>=
|
62
|
-
rubocop-ast (1.
|
63
|
-
parser (>=
|
64
|
-
ruby-progressbar (1.
|
65
|
-
ruby2_keywords (0.0.
|
66
|
-
savon (2.
|
110
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
111
|
+
rubocop-ast (1.32.3)
|
112
|
+
parser (>= 3.3.1.0)
|
113
|
+
ruby-progressbar (1.13.0)
|
114
|
+
ruby2_keywords (0.0.5)
|
115
|
+
savon (2.15.1)
|
67
116
|
akami (~> 1.2)
|
68
117
|
builder (>= 2.1.2)
|
69
118
|
gyoku (~> 1.2)
|
70
|
-
httpi (
|
119
|
+
httpi (>= 4, < 5)
|
120
|
+
mail (~> 2.5)
|
71
121
|
nokogiri (>= 1.8.1)
|
72
122
|
nori (~> 2.4)
|
73
|
-
wasabi (
|
74
|
-
simplecov (0.
|
123
|
+
wasabi (>= 3.7, < 6)
|
124
|
+
simplecov (0.22.0)
|
75
125
|
docile (~> 1.1)
|
76
126
|
simplecov-html (~> 0.11)
|
77
127
|
simplecov_json_formatter (~> 0.1)
|
78
|
-
simplecov-html (0.
|
79
|
-
simplecov_json_formatter (0.1.
|
80
|
-
|
81
|
-
unicode-display_width (
|
82
|
-
wasabi (
|
128
|
+
simplecov-html (0.13.1)
|
129
|
+
simplecov_json_formatter (0.1.4)
|
130
|
+
timeout (0.4.1)
|
131
|
+
unicode-display_width (2.6.0)
|
132
|
+
wasabi (5.0.3)
|
83
133
|
addressable
|
84
|
-
|
85
|
-
nokogiri (>= 1.
|
86
|
-
webmock (3.
|
87
|
-
addressable (>= 2.
|
134
|
+
faraday (>= 1.9, < 3)
|
135
|
+
nokogiri (>= 1.13.9)
|
136
|
+
webmock (3.23.1)
|
137
|
+
addressable (>= 2.8.0)
|
88
138
|
crack (>= 0.3.2)
|
89
139
|
hashdiff (>= 0.4.0, < 2.0.0)
|
90
|
-
yard (0.9.
|
140
|
+
yard (0.9.37)
|
91
141
|
|
92
142
|
PLATFORMS
|
93
|
-
|
143
|
+
x86_64-linux
|
94
144
|
|
95
145
|
DEPENDENCIES
|
96
|
-
bundler (~>
|
146
|
+
bundler (~> 2.0)
|
97
147
|
minitest (~> 5.0)
|
98
148
|
minitest-rg
|
99
149
|
mocha
|
@@ -105,4 +155,4 @@ DEPENDENCIES
|
|
105
155
|
yard
|
106
156
|
|
107
157
|
BUNDLED WITH
|
108
|
-
|
158
|
+
2.3.27
|
data/docker-compose.yml
CHANGED
data/lib/varanus/ssl/csr.rb
CHANGED
@@ -26,11 +26,15 @@ class Varanus::SSL::CSR
|
|
26
26
|
request.version = 0
|
27
27
|
request.subject = OpenSSL::X509::Name.parse subject.map { |k, v| "/#{k}=#{v}" }.join
|
28
28
|
request.add_attribute names_to_san_attribute(names)
|
29
|
-
|
29
|
+
if key.is_a? OpenSSL::PKey::EC
|
30
|
+
request.public_key = key
|
31
|
+
else
|
32
|
+
request.public_key = key.public_key
|
33
|
+
end
|
30
34
|
|
31
35
|
request.sign(key, OpenSSL::Digest.new('SHA256'))
|
32
36
|
|
33
|
-
[key,
|
37
|
+
[key, new(request)]
|
34
38
|
end
|
35
39
|
|
36
40
|
# :nodoc:
|
data/lib/varanus/version.rb
CHANGED
data/varanus.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
spec.required_ruby_version = '>= 2.5.0'
|
31
31
|
|
32
|
-
spec.add_development_dependency 'bundler', '~>
|
32
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
33
33
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
34
34
|
spec.add_development_dependency 'minitest-rg'
|
35
35
|
spec.add_development_dependency 'mocha'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: varanus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Dilda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
|
-
rubygems_version: 3.
|
236
|
+
rubygems_version: 3.3.5
|
237
237
|
signing_key:
|
238
238
|
specification_version: 4
|
239
239
|
summary: Interface for Sectigo's (formerly Comodo CA) API.
|