mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-23 00:25:18 +00:00
cli: sha1 is deprecated, use sha256 instead.
This commit is contained in:
parent
3e93aeee72
commit
706f4f78d3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user