aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/sigsum-sign-leaf.py2
-rwxr-xr-xtools/sigsum-verify-leaf.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/sigsum-sign-leaf.py b/tools/sigsum-sign-leaf.py
index 5289f46..6cf3398 100755
--- a/tools/sigsum-sign-leaf.py
+++ b/tools/sigsum-sign-leaf.py
@@ -11,7 +11,7 @@ from nacl.signing import VerifyKey, SigningKey
from nacl.encoding import HexEncoder
from libsigntools import checksum_stdin, ssh_to_sign
-alg = 'sha512'
+alg = 'sha256'
def ssh_blob(vk, sig, namespace):
vkdata = struct.pack('!I11sI32s',
diff --git a/tools/sigsum-verify-leaf.py b/tools/sigsum-verify-leaf.py
index d8a15fa..6e7d508 100755
--- a/tools/sigsum-verify-leaf.py
+++ b/tools/sigsum-verify-leaf.py
@@ -9,7 +9,7 @@ from nacl.signing import VerifyKey
from nacl.encoding import HexEncoder
from libsigntools import checksum_stdin, ssh_to_sign
-alg = 'sha512'
+alg = 'sha256'
def main():
keyfile = sys.argv[1]