mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
no longer use Python hashcash library
This commit is contained in:
@@ -61,7 +61,6 @@ def make_request(m, csr):
|
||||
m.request.recipient = server
|
||||
m.request.timestamp = int(time.time())
|
||||
m.request.csr = csr
|
||||
m.request.clientpuzzle = hashcash.mint(server, difficulty)
|
||||
hashcash_command = "hashcash -P -m -b %d -r %s" % (difficulty, server)
|
||||
m.request.clientpuzzle = subprocess.check_output(hashcash_command.split(), shell=False).rstrip()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user