DivestOS/Scripts/Generate_Signing_Keys.sh

15 lines
692 B
Bash
Raw Normal View History

2018-06-23 00:21:48 -04:00
#!/bin/bash
2019-05-23 11:34:26 -04:00
#desc='/O=Divested Computing, Inc./CN=DivestOS/emailAddress=support@divestos.org';
2018-06-29 00:55:21 -04:00
desc='/O=Example/CN=ExampleOS/emailAddress=support@example.com';
type='rsa'; #Options: rsa, ec
2018-06-29 00:55:21 -04:00
"$DOS_BUILD_BASE"/development/tools/make_key extra "$desc" "$type";
"$DOS_BUILD_BASE"/development/tools/make_key media "$desc" "$type";
"$DOS_BUILD_BASE"/development/tools/make_key platform "$desc" "$type";
"$DOS_BUILD_BASE"/development/tools/make_key releasekey "$desc" "$type";
"$DOS_BUILD_BASE"/development/tools/make_key shared "$desc" "$type";
"$DOS_BUILD_BASE"/development/tools/make_key verity "$desc" "$type";
echo "Please copy created keys to your signing keys directory. Keep them safe!";