letsencrypt_webfaction 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/lib/letsencrypt_webfaction.rb +1 -1
- data/lib/letsencrypt_webfaction/application/run.rb +7 -1
- metadata +2 -2
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef1b9fb8a70fb210d300ae1d935498127533ada35554769a9def621471f1796e
|
|
4
|
+
data.tar.gz: 5a43d8bd43ea051733aaadc427406cf73d38c5658ad2cbbaf40bf016cc57d55d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7137d662565e1500b2fc184ffba6e1ba4eff4de8537bd06bb221d9a84f4f3f0ec9a84626b044c50a9037cc7ac413c58544c96aa546cf0b9ebf732d31cb563565
|
|
7
|
+
data.tar.gz: b2f5ad87fccd62fbf07db029918f8d8d49435b3984eec8a27791ff0369740f710d86561240cbfb4f5664024ac81ec081e77ec3ac9f2454a6ba8c6c5b04c941a5
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@ Unreleased
|
|
|
2
2
|
|
|
3
3
|
* Your change here!
|
|
4
4
|
|
|
5
|
+
v4.0.2
|
|
6
|
+
|
|
7
|
+
* Fix issues with the key not being registered correctly. #168
|
|
8
|
+
|
|
5
9
|
v4.0.1
|
|
6
10
|
|
|
7
11
|
* Require Ruby >=2.4 (mostly because Faraday, which this depends on, doesn't support 2.2 anymore. Also not support 2.3 because of the xmlrpc library extraction. This just makes things easier, and it seems like WebFaction supports this new version of Ruby everywhere now.)
|
|
@@ -162,8 +162,14 @@ module LetsencryptWebfaction
|
|
|
162
162
|
@_client ||= Acme::Client.new(private_key: private_key, directory: @options.directory)
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
+
def key_registered?
|
|
166
|
+
!client.kid.nil?
|
|
167
|
+
rescue Acme::Client::Error::AccountDoesNotExist
|
|
168
|
+
false
|
|
169
|
+
end
|
|
170
|
+
|
|
165
171
|
def register_key
|
|
166
|
-
return if
|
|
172
|
+
return if key_registered?
|
|
167
173
|
|
|
168
174
|
# If the private key is not known to the server, we need to register it for the first time.
|
|
169
175
|
client.new_account(contact: "mailto:#{@options.letsencrypt_account_email}", terms_of_service_agreed: true)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: letsencrypt_webfaction
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Johnston
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
is7nzWq9MtbVDHPaE5a10t+7UoSjPzWFe4qKnxjB8RjfGymDvy4+H2eJbRQE932E
|
|
31
31
|
Dm3/IFNc1K3ekU2WQEZ3O0WHQY8bCBgCAD/U/CiTaLUOm4VsPnYLAx4=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2020-
|
|
33
|
+
date: 2020-08-23 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: acme-client
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
�
|
|
2
|
-
C�������U�V�W磘�1���w�����zL��s�
|
|
1
|
+
EQ�cӳ��ӫy�
|
|
3
|
-
|
|
2
|
+
<��)�G3
|