DivestOS/Scripts/Generate_Signing_Keys.sh
Tad 9c3996bed9 Shellcheck
mainly just double quoting
2018-06-23 00:21:48 -04:00

15 lines
653 B
Bash

#!/bin/bash
#export desc='/O=Divested Computing, Inc./CN=DivestOS/emailAddress=support@divestos.xyz';
export desc='/O=Example/CN=ExampleOS/emailAddress=support@example.com';
export type='rsa'; #Options: rsa, ec
"$base"/development/tools/make_key extra "$desc" "$type";
"$base"/development/tools/make_key media "$desc" "$type";
"$base"/development/tools/make_key platform "$desc" "$type";
"$base"/development/tools/make_key releasekey "$desc" "$type";
"$base"/development/tools/make_key shared "$desc" "$type";
"$base"/development/tools/make_key verity "$desc" "$type";
echo "Please copy created keys to your signing keys directory. Keep them safe!";