mirror of
https://github.com/certbot/certbot.git
synced 2026-03-26 20:33:47 -04:00
modify client hashcash parameter to be reasonable
This commit is contained in:
parent
bc024d02c5
commit
f00a668e38
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ def make_request(server, m, csr, names, quiet=False):
|
|||
m.request.recipient = server
|
||||
m.request.timestamp = int(time.time())
|
||||
m.request.csr = csr
|
||||
hashcash_cmd = ["hashcash", "-P", "-m", "-z", "12", "-b", `difficulty*len(names)`, "-r", server]
|
||||
hashcash_cmd = ["hashcash", "-P", "-m", "-z", "12", "-b", `difficulty`, "-r", server]
|
||||
if quiet:
|
||||
hashcash = subprocess.Popen(hashcash_cmd, preexec_fn=drop_privs, shell= False, stdout=subprocess.PIPE, stderr=open("/dev/null", "w")).communicate()[0].rstrip()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue