lib/acme/client/resources/challenges/base.rb in acme-client-0.5.5 vs lib/acme/client/resources/challenges/base.rb in acme-client-0.6.0
- old
+ new
@@ -32,12 +32,8 @@
def challenge_type
self.class::CHALLENGE_TYPE
end
def authorization_key
- "#{token}.#{crypto.thumbprint}"
- end
-
- def crypto
- @crypto ||= Acme::Client::Crypto.new(client.private_key)
+ "#{token}.#{client.jwk.thumbprint}"
end
end