Merge "Switch from SHA-1 to SHA-256 for new signing key certs." am: 574ad2ec86 am: b2e8ea51a9
am: 0684d848fb
* commit '0684d848fb70e1868ba1d1789e62c9c63066565c':
Switch from SHA-1 to SHA-256 for new signing key certs.
Change-Id: I567818ec07e95ac9382f372d42a6aa36c4c057d0
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user