Use more secure exponent for generating keys
Bug: 7246090 Change-Id: Ic6cbac975fcb96b436e27a87b1f81b5e3dac6321
This commit is contained in:
@@ -49,7 +49,7 @@ chmod 0600 ${one} ${two}
|
|||||||
read -p "Enter password for '$1' (blank for none; password will be visible): " \
|
read -p "Enter password for '$1' (blank for none; password will be visible): " \
|
||||||
password
|
password
|
||||||
|
|
||||||
( openssl genrsa -3 2048 | tee ${one} > ${two} ) &
|
( openssl genrsa -f4 2048 | tee ${one} > ${two} ) &
|
||||||
|
|
||||||
openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
|
openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
|
||||||
-days 10000 -subj "$2" &
|
-days 10000 -subj "$2" &
|
||||||
|
|||||||
Reference in New Issue
Block a user