From b87fc6b140772ba3017de311c7063c259424264c Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 15 Aug 2016 17:11:31 +0200 Subject: First public release. Used by VeraCrypt 1.18. --- DcsCfg/DcsCfg.man | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 DcsCfg/DcsCfg.man (limited to 'DcsCfg/DcsCfg.man') diff --git a/DcsCfg/DcsCfg.man b/DcsCfg/DcsCfg.man new file mode 100644 index 0000000..bb6fda4 --- /dev/null +++ b/DcsCfg/DcsCfg.man @@ -0,0 +1,120 @@ +.TH DcsCfg 0 "Configuration tool of DCS" +.SH NAME +Configure boot loader parameters and tests EFI environment for compatibility +.SH SYNOPSIS + +DcsCfg -dl +DcsCfg -dc -ds -de -aa [-rnd rnddata] +DcsCfg -db +DcsCfg -aa +DcsCfg -dec -aa [-rnd rnddata] +DcsCfg -ddc -aa +DcsCfg -dcp +DcsCfg -ul +DcsCfg -tl +DcsCfg -tt +DcsCfg -gl +DcsCfg -gd +DcsCfg -gm +DcsCfg -bl +DcsCfg -bt +DcsCfg -setup +DcsCfg -ds -pl +DcsCfg -pf -pl +DcsCfg -ds -pf -ps +DcsCfg -ds -pf -pa +DcsCfg -pf -pe -aa +DcsCfg -pf -pd -aa +DcsCfg -pf -pmirror -ps +DcsCfg -pf -pnt -phide -ps +DcsCfg -kp +DcsCfg -ds -srm +DcsCfg -ds -srw +DcsCfg -ds -sra +DcsCfg -ds -wipe + +.SH OPTIONS + + -dl - block device list (order numbers are used in -db and -se) + -ds – select device + -de – end device to check (starts from select) + -dc check devices (try to authorize) + -db - boot partition selection + -aa - ask authorization parameters + -ach - create header on block device + -vec - block device encrypt + -vdc - block device decrypt + -vcp - block device change password + -ul - USB device list + -tl - touch device + -tt - Test touch device + -gl - graphics device list + -gd - graphics device select + -gm - graphics mode select + -bl - Beep device list + -bt - Beep device test + -setup - interactive setup + -pl - GPT list + -pf - file with GPT + -ps - save GPT to file + -pa - applay GPT from file to disk + -pe - encrypt GPT + -pd - decrypt GPT + -pnt - partition number as template (from -pl) + -phide - hide partions from to ; - start sector of hidden partition, - end sector of hidden partition + -kp - keys file of platform to save + -srm - mark disk as security regions container(write CRC of platform to 61 sector); - number of possible security regions + -srw - wipe security regions data with random data (write random data [62, 62 + 256 * SRT]) it has to be free! check first partition start sector! + -sra - add to security region + -wipe - write random data to sectors range [SS,SE] + + .SH DESCRIPTION + +NOTES: +This is test tool for DCS developers. Use it with care. + +.SH EXAMPLES + +EXAMPLES: + + * To list block devices + Shell> dcscfg -dl + + * To change password on block device 1 + Shell> dcscfg -aa -scp 1 + + * To list graphics devices + Shell> dcscfg -gl + + * To select graphics devices mode 1 on device 1 + Shell> dcscfg -gd 1 -gm 1 + + * To list GPT + Shell> dcscfg -ds 1 -pl + + * To save GPT + Shell> dcscfg -ds 1 -pf gpt_org -ps + + * To apply GPT to disk + Shell> dcscfg -ds 1 -pf gpt_disk -pa + + * To hide partition [123456,5678910] as template use partition(9) + Shell> dcscfg -pf gpt_disk -pht 9 -phide 123456 5678910 -ps + + * To encrypt GPT before adding to security region + Shell> dcscfg -aa -pf gpt_hidden_boot -pe -ps + + * To mark USB disk(1) as security regions container(write CRC of platform to 61 sector) + Shell> dcscfg -ds 1 -srm 5 + + * To wipe 5 security regions with random data (write random data [62, 62 + 256 * 5]) + Sectors has to free! check first partition start sector! + Shell> dcscfg -ds 1 -srw 5 + + * To add gpt_hidden_boot to security region 2 on device 1 + Shell> dcscfg -ds 1 -pf gpt_hidden_boot -sra 2 + +.SH RETURNVALUES + +RETURN VALUES: + 0 Exited normally -- cgit v1.2.3