mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 09:29:13 +00:00 
			
		
		
		
	cli: sha1 is deprecated, use sha256 instead.
This commit is contained in:
		| @@ -549,10 +549,10 @@ def certidude_setup_authority(parent, country, state, locality, organization, or | |||||||
|  |  | ||||||
|     click.echo("Signing %s..." % subject2dn(ca.get_subject())) |     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 |     # openssl x509 -fingerprint -in ca_crt.pem | ||||||
|  |  | ||||||
|     ca.sign(key, "sha1") |     ca.sign(key, "sha256") | ||||||
|  |  | ||||||
|     os.umask(0o027) |     os.umask(0o027) | ||||||
|     if not os.path.exists(directory): |     if not os.path.exists(directory): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user