acme-client 2.0.18 → 2.0.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88c2953c9fcfd9a7f7825b4c69b2cf0ff86befb504914e6f78b03f6fdaab052b
4
- data.tar.gz: bddedcd46dc0b2d1224a7d409916668aa31bfad3c6576a0d09376257c654f434
3
+ metadata.gz: a0e6e77d3b55948efdac0659c7252a685c791029599c734cb593444e3d3d4936
4
+ data.tar.gz: 14e2a2ec2a520db7bffef10f069dae5ca51ce58d0b0d8c0f15353dd622025ac2
5
5
  SHA512:
6
- metadata.gz: 999d2d254b29f3fdefe3af90333091c5a034d5aa3b3c3274bfe1c7787fe9c14723bf288ba0d7e4dce5fa3aad3352ecd0ef49bd60c93f4b51ab7e5d51017a9a1e
7
- data.tar.gz: 0d16f423760bd8f714ce94de1767201dd8c842ae3fca2ec8d93c7364ea15c61f24f9c66c4175e2d7091cf263467caeb4a5e049f996c92173d64269ba5c11629b
6
+ metadata.gz: bbde5262664481e7e11c69d9604e4cd65a5cd4983cc5aaeca418f6abcb88787562968f745b8a4cac7bad423463ed2d1a76a9eeea69ff540e4dabd17f84f49b52
7
+ data.tar.gz: 62e069ee6a2b9dd8a38081aaac7c07f00d84fea78ab923a3a9fb9fafd538c0af5e2e9e4f2fd02737910cadbd0365879ef106ba93fc3e7106d467edd3e0fbe2b7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
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
+
1
5
  ## `2.0.18`
2
6
 
3
7
  * Fix an issue public key encoding. `OpenSSL::BN` cause keys with leading zero to fail.
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
@@ -89,7 +89,7 @@ class Acme::Client::CertificateRequest
89
89
  end
90
90
  csr.public_key = @private_key
91
91
  csr.subject = generate_subject
92
- csr.version = 2
92
+ csr.version = 0
93
93
  add_extension(csr)
94
94
  csr.sign @private_key, @digest
95
95
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Acme
4
4
  class Client
5
- VERSION = '2.0.18'.freeze
5
+ VERSION = '2.0.19'.freeze
6
6
  end
7
7
  end
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.18
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-06-14 00:00:00.000000000 Z
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