mkchain 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/mkchain.rb +1 -1
- data/mkchain.gemspec +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e187fe157d0c68cd9aa65fe492577be7a96379fa1a173cf067083de4acf4251c
|
4
|
+
data.tar.gz: 1a25570a6bd72a9bc292d7cc3a97dbb64ce0d0381838c59c593c37ae223c9d01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e10b6a302df386766eb68e872d0388f5ddaa1196eee30197157db0edf6c770223cfb1d1624f30fe4a8119709c0886e6f8a566fe0ca024b8d10b39c0df5f4c0c
|
7
|
+
data.tar.gz: c4d2bfd25f1b1201489f2e397db7c4ac29c8ee98fdd7f0e70325c99c6a2c8e99c9ecc143cc25722ab63e201673331b97151a275aad1bbdb4b99d8aa71a2f72ff
|
data/lib/mkchain.rb
CHANGED
@@ -12,7 +12,7 @@ class MkChain
|
|
12
12
|
url = cert.extensions.select { |ext| ext.oid == 'authorityInfoAccess' }
|
13
13
|
.first.value.match(%r{^CA Issuers - URI:(https?://.+)$})[1] rescue break
|
14
14
|
|
15
|
-
cert = OpenSSL::X509::Certificate.new(open(url).read) rescue break
|
15
|
+
cert = OpenSSL::X509::Certificate.new(URI.open(url).read) rescue break
|
16
16
|
chain << cert.to_pem
|
17
17
|
end
|
18
18
|
|
data/mkchain.gemspec
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'mkchain'
|
3
|
-
s.version = '1.0
|
3
|
+
s.version = '1.1.0'
|
4
4
|
s.authors = ['David Adams']
|
5
5
|
s.email = 'dadams@instructure.com'
|
6
6
|
s.date = Time.now.strftime('%Y-%m-%d')
|
7
7
|
s.license = 'MIT'
|
8
8
|
s.homepage = 'https://github.com/instructure/mkchain'
|
9
|
-
s.required_ruby_version = '>=
|
9
|
+
s.required_ruby_version = '>=3.0.0'
|
10
10
|
|
11
11
|
s.summary = 'Create a chain file from SSL cert'
|
12
12
|
s.description =
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Adams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Creates an intermediate chain file from the given SSL certificate
|
14
14
|
email: dadams@instructure.com
|
@@ -25,7 +25,7 @@ homepage: https://github.com/instructure/mkchain
|
|
25
25
|
licenses:
|
26
26
|
- MIT
|
27
27
|
metadata: {}
|
28
|
-
post_install_message:
|
28
|
+
post_install_message:
|
29
29
|
rdoc_options: []
|
30
30
|
require_paths:
|
31
31
|
- lib
|
@@ -33,16 +33,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
33
33
|
requirements:
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: 3.0.0
|
37
37
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
|
-
|
44
|
-
|
45
|
-
signing_key:
|
43
|
+
rubygems_version: 3.2.33
|
44
|
+
signing_key:
|
46
45
|
specification_version: 4
|
47
46
|
summary: Create a chain file from SSL cert
|
48
47
|
test_files: []
|