acme-client 2.0.17 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/acme-client.gemspec +1 -0
- data/lib/acme/client/certificate_request.rb +1 -1
- data/lib/acme/client/jwk/ecdsa.rb +4 -4
- data/lib/acme/client/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0e6e77d3b55948efdac0659c7252a685c791029599c734cb593444e3d3d4936
|
4
|
+
data.tar.gz: 14e2a2ec2a520db7bffef10f069dae5ca51ce58d0b0d8c0f15353dd622025ac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbde5262664481e7e11c69d9604e4cd65a5cd4983cc5aaeca418f6abcb88787562968f745b8a4cac7bad423463ed2d1a76a9eeea69ff540e4dabd17f84f49b52
|
7
|
+
data.tar.gz: 62e069ee6a2b9dd8a38081aaac7c07f00d84fea78ab923a3a9fb9fafd538c0af5e2e9e4f2fd02737910cadbd0365879ef106ba93fc3e7106d467edd3e0fbe2b7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## `2.0.19`
|
2
|
+
|
3
|
+
* Fix an issue CSR generation. Version should be set to zero according to the spec. It's causing issue with some ACME server implementation.
|
4
|
+
|
5
|
+
## `2.0.18`
|
6
|
+
|
7
|
+
* Fix an issue public key encoding. `OpenSSL::BN` cause keys with leading zero to fail.
|
8
|
+
|
1
9
|
## `2.0.17`
|
2
10
|
|
3
11
|
* Fix bug where depending on call order `jws` get generated with the wrong `kid`
|
data/acme-client.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'webmock', '~> 3.8'
|
23
23
|
spec.add_development_dependency 'webrick', '~> 1.7'
|
24
24
|
|
25
|
+
spec.add_runtime_dependency 'base64', '~> 0.2.0'
|
25
26
|
spec.add_runtime_dependency 'faraday', '>= 1.0', '< 3.0.0'
|
26
27
|
spec.add_runtime_dependency 'faraday-retry', '>= 1.0', '< 3.0.0'
|
27
28
|
end
|
@@ -50,8 +50,8 @@ class Acme::Client::JWK::ECDSA < Acme::Client::JWK::Base
|
|
50
50
|
{
|
51
51
|
crv: @curve_params[:jwa_crv],
|
52
52
|
kty: 'EC',
|
53
|
-
x: Acme::Client::Util.urlsafe_base64(coordinates[:x]
|
54
|
-
y: Acme::Client::Util.urlsafe_base64(coordinates[:y]
|
53
|
+
x: Acme::Client::Util.urlsafe_base64(coordinates[:x]),
|
54
|
+
y: Acme::Client::Util.urlsafe_base64(coordinates[:y])
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
@@ -92,8 +92,8 @@ class Acme::Client::JWK::ECDSA < Acme::Client::JWK::Base
|
|
92
92
|
hex_y = hex[2 + data_len / 2, data_len / 2]
|
93
93
|
|
94
94
|
{
|
95
|
-
x:
|
96
|
-
y:
|
95
|
+
x: [hex_x].pack('H*'),
|
96
|
+
y: [hex_y].pack('H*')
|
97
97
|
}
|
98
98
|
end
|
99
99
|
end
|
data/lib/acme/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acme-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Barbier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: base64
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.2.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: faraday
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|