From 706f4f78d3eb3035892e6eefbee6de109e7ac98e Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Tue, 29 Sep 2015 15:05:06 +0300 Subject: [PATCH] cli: sha1 is deprecated, use sha256 instead. --- certidude/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certidude/cli.py b/certidude/cli.py index f9c41e9..02e4517 100755 --- a/certidude/cli.py +++ b/certidude/cli.py @@ -549,10 +549,10 @@ def certidude_setup_authority(parent, country, state, locality, organization, or click.echo("Signing %s..." % subject2dn(ca.get_subject())) - # openssl x509 -in ca_crt.pem -outform DER | sha1sum + # openssl x509 -in ca_crt.pem -outform DER | sha256sum # openssl x509 -fingerprint -in ca_crt.pem - ca.sign(key, "sha1") + ca.sign(key, "sha256") os.umask(0o027) if not os.path.exists(directory):