mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-28 18:21:51 +01:00
authority.v2: Properly clear the nonce cache on using it's content
This commit is contained in:
parent
7475d5e73f
commit
af0bb45d73
@ -97,8 +97,11 @@ class ACMEAuthority(AbstractACMEAuthority):
|
||||
# Request a new nonce if there is none in cache
|
||||
if not self.nonce:
|
||||
self._request_url(self.directory['newNonce'])
|
||||
|
||||
# Set request nonce to current cache value
|
||||
protected["nonce"] = self.nonce
|
||||
# Reset nonce cache as we are using it's current value
|
||||
self.nonce = None
|
||||
|
||||
protected["url"] = url
|
||||
if self.algorithm:
|
||||
protected["alg"] = self.algorithm
|
||||
|
Loading…
Reference in New Issue
Block a user