Skip to content

Commit f96dbfc

Browse files
committed
Update descriptions of RKP factory extraction tool's command line flags.
Bug: 323246910 Test: m rkp_factory_extraction_tool Change-Id: If22edead0d95d778db1003801a810a63a9f5ea74
1 parent a8ed352 commit f96dbfc

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

provisioner/rkp_factory_extraction_tool.cpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,20 @@ using aidl::android::hardware::security::keymint::remote_prov::RKPVM_INSTANCE_NA
4040

4141
DEFINE_string(output_format, "build+csr", "How to format the output. Defaults to 'build+csr'.");
4242
DEFINE_bool(self_test, true,
43-
"If true, this tool performs a self-test, validating the payload for correctness. "
44-
"This checks that the device on the factory line is producing valid output "
45-
"before attempting to upload the output to the device info service.");
43+
"Whether to validate the output for correctness. If enabled, this checks that the "
44+
"device on the factory line is producing valid output before attempting to upload the "
45+
"output to the device info service. Defaults to true.");
4646
DEFINE_string(allow_degenerate, "",
4747
"Comma-delimited list of names of IRemotelyProvisionedComponent instances for which "
4848
"self_test validation allows degenerate DICE chains in the CSR. Example: "
49-
"avf,default,strongbox");
49+
"avf,default,strongbox. Defaults to the empty string.");
5050
DEFINE_string(serialno_prop, "ro.serialno",
51-
"The property of getting serial number. Defaults to 'ro.serialno'.");
51+
"System property from which the serial number should be retrieved. Defaults to "
52+
"'ro.serialno'.");
5253
DEFINE_string(require_uds_certs, "",
53-
"The comma-delimited names of remotely provisioned "
54-
"components whose UDS certificate chains are required to be present in the CSR. "
55-
"Example: avf,default,strongbox");
54+
"Comma-delimited list of names of IRemotelyProvisionedComponent instances for which "
55+
"UDS certificate chains are required to be present in the CSR. Example: "
56+
"avf,default,strongbox. Defaults to the empty string.");
5657

5758
namespace {
5859

0 commit comments

Comments
 (0)