diff options
| -rwxr-xr-x | meta-signing-key/scripts/create-user-key-store.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-signing-key/scripts/create-user-key-store.sh b/meta-signing-key/scripts/create-user-key-store.sh index a63f50e..30e3c28 100755 --- a/meta-signing-key/scripts/create-user-key-store.sh +++ b/meta-signing-key/scripts/create-user-key-store.sh | |||
| @@ -189,7 +189,7 @@ ca_sign() { | |||
| 189 | else | 189 | else |
| 190 | # Prompt user to type the password | 190 | # Prompt user to type the password |
| 191 | if [ "$IMA_PASS" = "" ] ; then | 191 | if [ "$IMA_PASS" = "" ] ; then |
| 192 | openssl genrsa -des3 -out "$key_dir/$key_name.key" 2048 \ | 192 | openssl genrsa -aes256 -out "$key_dir/$key_name.key" 2048 \ |
| 193 | || print_fatal "openssl failure" | 193 | || print_fatal "openssl failure" |
| 194 | 194 | ||
| 195 | openssl req -new -sha256 \ | 195 | openssl req -new -sha256 \ |
| @@ -198,7 +198,7 @@ ca_sign() { | |||
| 198 | -out "$key_dir/$key_name.csr" \ | 198 | -out "$key_dir/$key_name.csr" \ |
| 199 | || print_fatal "openssl failure" | 199 | || print_fatal "openssl failure" |
| 200 | else | 200 | else |
| 201 | openssl genrsa -des3 -passout "pass:$IMA_PASS" \ | 201 | openssl genrsa -aes256 -passout "pass:$IMA_PASS" \ |
| 202 | -out "$key_dir/$key_name.key" 2048 \ | 202 | -out "$key_dir/$key_name.key" 2048 \ |
| 203 | || print_fatal "openssl failure" | 203 | || print_fatal "openssl failure" |
| 204 | 204 | ||
