diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-03-25 14:37:26 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2022-03-25 14:37:26 +0100 |
commit | 6b8bdb5f5c01b04c201dde5a40ebb7ff58c4a64d (patch) | |
tree | 2c2e2c3ea979311a2ab5d78cc607ebe5d35084fd | |
parent | 51ee50298902d2afe0a148246df09437efaa8a3c (diff) |
change default signing algo to sha256
-rwxr-xr-x | tools/sigsum-sign-leaf.py | 2 | ||||
-rwxr-xr-x | tools/sigsum-verify-leaf.py | 2 |
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] |