mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
UnexpectedUpdate in Network.request_challenges
This commit is contained in:
@@ -116,7 +116,9 @@ class Network(object):
|
|||||||
body=messages2.Authorization.from_json(response.json()),
|
body=messages2.Authorization.from_json(response.json()),
|
||||||
uri=response.headers['location'],
|
uri=response.headers['location'],
|
||||||
new_cert_uri=response.links['next']['url'])
|
new_cert_uri=response.links['next']['url'])
|
||||||
assert authzr.body.key == self.key.public()
|
if (authzr.body.key != self.key.public()
|
||||||
|
or authzr.body.identifier != identifier):
|
||||||
|
raise errors.UnexpectedUpdate(authzr)
|
||||||
return authzr
|
return authzr
|
||||||
|
|
||||||
# TODO: anything below is also stub, bot not working, not tested at all
|
# TODO: anything below is also stub, bot not working, not tested at all
|
||||||
|
|||||||
Reference in New Issue
Block a user