diff options
| author | Baligh Uddin <baligh@google.com> | 2012-09-28 11:30:10 -0700 |
|---|---|---|
| committer | Baligh Uddin <baligh@google.com> | 2012-09-28 11:30:10 -0700 |
| commit | 6b03c84e6ec660884d3cc216302b5f462bb1ce65 (patch) | |
| tree | 08f3fdab97a41df1d130b8b73a17d56bc5f1d855 /tools/make_key | |
| parent | 7b4874660e94685b76828e1f93b651ac38742bd7 (diff) | |
| download | android_development-6b03c84e6ec660884d3cc216302b5f462bb1ce65.tar.gz android_development-6b03c84e6ec660884d3cc216302b5f462bb1ce65.tar.bz2 android_development-6b03c84e6ec660884d3cc216302b5f462bb1ce65.zip | |
Use more secure exponent for generating keys
Bug: 7246090
Change-Id: Ic6cbac975fcb96b436e27a87b1f81b5e3dac6321
Diffstat (limited to 'tools/make_key')
| -rwxr-xr-x | tools/make_key | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_key b/tools/make_key index ac02d175b..209d824f6 100755 --- a/tools/make_key +++ b/tools/make_key @@ -49,7 +49,7 @@ chmod 0600 ${one} ${two} read -p "Enter password for '$1' (blank for none; password will be visible): " \ 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 \ -days 10000 -subj "$2" & |
