mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
don't SHA256 twice!
This commit is contained in:
parent
9930ae8875
commit
7b615c295e
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def make_request(m):
|
|||
m.request.sig = "BAR"
|
||||
|
||||
def sign(k, m):
|
||||
m.request.sig = CSR.sign(k, sha256("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
|
||||
m.request.sig = CSR.sign(k, ("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
|
||||
|
||||
k=chocolatemessage()
|
||||
m=chocolatemessage()
|
||||
|
|
|
|||
Loading…
Reference in a new issue