letsencrypt-cli 0.4.1 → 0.5.0.beta1

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
  SHA1:
3
- metadata.gz: 1d12646215ed301cf2f11ec9538f91bfd184a364
4
- data.tar.gz: d6784be91612c01d82dc1e5df761588b2964be4a
3
+ metadata.gz: 9d71c7273f1b123f1bc71ada9e92ade32746158d
4
+ data.tar.gz: a9428f3b55a24b711886ef6e054cb0fda9b53505
5
5
  SHA512:
6
- metadata.gz: f2322d82b049614aab536f9bd610b06e49ae262ac7cdce14c11ee58d7a4d6def0652390b36e8ec265e0a84e484a3cc32fad2c10c980a7ba2a28aba0f0944dfd1
7
- data.tar.gz: b534fe6c7b9a9d38559024cdfa45aca37be9163e9c01db36c52c78c4a33b05d0a3cacffb811aa7273e4f28dff127c390be9bd1eb42c80d9f6774b2711e3a5516
6
+ metadata.gz: fd8b10d9f10857547882dd806c7d5b9ce2a45e9e61a2eb77cd5b48b065390ce1a1f5274cd6c372e42e55d0e120805ceda28955217c825fcf95dc08c888f63fbd
7
+ data.tar.gz: 46c67108d56c19d3eb37b7218a07d9f4897ef85d6be6df285afc8e593a53b06f6fb5755c7818c1c4535d7b29e8a9af9aad33891ae1e02b9dd1905956d7f93784
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.5.0](https://github.com/zealot128/ruby-letsencrypt-cli/tree/v0.5.0)
4
+
5
+ * fix for CSR generated using a pre-1.0.2 OpenSSL with a client that doesn't properly specify the CSR version. See https://community.letsencrypt.org/t/openssl-bug-information/19591 (Acme::Client::Error::Malformed) https://github.com/zealot128/ruby-letsencrypt-cli/commit/b7fd1d592e9a74905f5067b64e0ac88a526cfeed
6
+ * explicitly require colorize Gem so color support does work https://github.com/zealot128/ruby-letsencrypt-cli/commit/b43510d1be1a495923ea8e27051b3a0bae4e23b0
7
+
8
+ ## [v0.4.1](https://github.com/zealot128/ruby-letsencrypt-cli/tree/v0.4.1)
9
+
10
+ * fix renewing via manage command when certificate is not expired https://github.com/zealot128/ruby-letsencrypt-cli/commit/8e6b9cd4a2b1d0caa7a85d6ead410b98555cb499
11
+ * require logger in beginning of file
12
+
13
+ ## [v0.4.0](https://github.com/zealot128/ruby-letsencrypt-cli/tree/v0.4.0)
14
+
15
+ * New ``--sub-directory`` option to use that instead of first domain name
16
+ * Solves issue #10 -- certificate_exists_and_valid_and_all_domains_included? returns true when cert is expired
17
+
3
18
  ## [v0.3.0](https://github.com/zealot128/ruby-letsencrypt-cli/tree/v0.3.0)
4
19
 
5
20
  * Certificate creation checks if existing certificate includes all requested domains. If at least one is missing, a new cert will be requested
@@ -1,6 +1,7 @@
1
1
  require 'json'
2
2
  require 'acme-client'
3
3
  require 'logger'
4
+ require 'colorize'
4
5
 
5
6
  class AcmeWrapper
6
7
  def initialize(options)
@@ -80,6 +81,7 @@ class AcmeWrapper
80
81
  csr.add_attribute(attr)
81
82
  end
82
83
  end
84
+ csr.version = 2
83
85
  csr.public_key = certificate_private_key.public_key
84
86
  csr.sign(certificate_private_key, OpenSSL::Digest::SHA256.new)
85
87
  certificate = client.new_certificate(csr)
@@ -1,5 +1,5 @@
1
1
  module Letsencrypt
2
2
  module Cli
3
- VERSION = "0.4.1"
3
+ VERSION = "0.5.0.beta1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letsencrypt-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Wienert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-14 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acme-client
@@ -218,12 +218,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: 2.0.0
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - ">="
221
+ - - ">"
222
222
  - !ruby/object:Gem::Version
223
- version: '0'
223
+ version: 1.3.1
224
224
  requirements: []
225
225
  rubyforge_project:
226
- rubygems_version: 2.4.8
226
+ rubygems_version: 2.5.1
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: slim letsencrypt client for quickly authorizing (multiple) domains and issuing