Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge "Switch from SHA-1 to SHA-256 for new signing key certs."
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Klyubin authored and Gerrit Code Review committed May 6, 2016
2 parents fb4dd3e + 702ed27 commit 574ad2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make_key
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ read -p "Enter password for '$1' (blank for none; password will be visible): " \

if [ "${3}" = "rsa" -o "$#" -eq 2 ]; then
( openssl genrsa -f4 2048 | tee ${one} > ${two} ) &
hash="-sha1"
hash="-sha256"
elif [ "${3}" = "ec" ]; then
( openssl ecparam -name prime256v1 -genkey -noout | tee ${one} > ${two} ) &
hash="-sha256"
Expand Down

0 comments on commit 574ad2e

Please sign in to comment.