diff options
Diffstat (limited to 'futility/cmd_sign.c')
-rw-r--r-- | futility/cmd_sign.c | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/futility/cmd_sign.c b/futility/cmd_sign.c index d0c053b4..5b686342 100644 --- a/futility/cmd_sign.c +++ b/futility/cmd_sign.c @@ -479,30 +479,27 @@ static void print_help_rwsig(int argc, char *argv[]) "\n" "This signs a %s.\n" "\n" - "The INFILE is a binary blob of arbitrary size." - " It is signed using the\n" + "The INFILE is a binary blob of arbitrary size. It is signed using the\n" "private key and the vb21_signature blob emitted.\n" "\n" - "If no OUTFILE is specified, the INFILE should contain" - " an existing\n" - "vb21_signature blob near its end. The data_size from that" - " signature is\n" - "used to re-sign a portion of the INFILE, and the old" - " signature blob is\n" + "If no OUTFILE is specified, the INFILE should contain an existing\n" + "vb21_signature blob near its end. The data_size from that signature is\n" + "used to re-sign a portion of the INFILE, and the old signature blob is\n" "replaced.\n" + "Alternatively, if INFILE contains an FMAP, RW and signatures offsets\n" + "are read from that table, and, if a public key is provided, the\n" + "public key is replaced in the RO image.\n" "\n" "Options:\n" "\n" - " --prikey FILE.vbprik2 " - "Private key in vb2 format (required)\n" - " --sig_size NUM " - "Offset from the end of INFILE where the\n" - " " - "signature blob should be located\n" - " " - "(default 1024 bytes)\n" - " --data_size NUM " - "Number of bytes of INFILE to sign\n" + " --prikey FILE.vbprik2 Private key in vb2 format (required)\n" + " --version NUM Public key version if we are replacing" + " the key in INFILE (default: 1)\n" + " --sig_size NUM Offset from the end of INFILE where the\n" + " signature blob should be located, if\n" + " the file does not contain an FMAP.\n" + " (default 1024 bytes)\n" + " --data_size NUM Number of bytes of INFILE to sign\n" "\n", argv[0], futil_file_type_name(FILE_TYPE_RWSIG), |