LCP2_CRTPOLLIST(8)
π NAME π
lcp2_crtpollist β bestie, this is the tool that creates an Intel(R) TXT policy list. That's it, that's the whole job, and it does it flawlessly π
π SYNOPSIS π
lcp2_crtpollist COMMAND [OPTION]
β¨ DESCRIPTION β¨
Okay so real talk: lcp2_crtpollist is used to create an Intel(R) TXT policy list. That's the vibe. She builds the list, she signs the list, she shows you the list. Main character energy fr fr π«Ά
πΈ OPTIONS πΈ
--createβ Create a TXT policy list. The following options are available:--listverver β policy list version. Supported values are:0x100(legacyLCP_POLICY_LIST),0x200,0x201(legacyLCP_POLICY_LIST2) and0x300(currentLCP_POLICY_LIST2_1). Pick your fighter β¨--outfile β output file for policy list[file]...β policy element files (created with thelcp2_crpoleltcommand).
--signβ Sign a TXT policy list.--sigalg<rsa|rsapss|ecdsa|sm2> β Signature algorithm. Lists version0x100only supportrsa(rsa pkcs 1.5). Lists version0x200and0x201supportrsa(rsa pkcs 1.5) andecdsa. Lists version0x300supportrsapssandecdsa.--hashalg<sha1|sha256|sha384|sha512|sm2> β Hash algorithm used for signing a list. Lists version0x100only support SHA1.--pubfile β Public key to use, must be in PEM format.[--privfile]β Private key to use, must be in PEM format. This option is required unless you use the--nosigoption.[--revcounter]β Revocation counter value[--nosig]β Don't add a SigBlock. This option is ignored if list is version0x300.--outfile β Policy list file (input and output)
--addsigβ Add a signature. This option is ignored if list is version0x300.--sigfile β File containing signature (big-endian)--outfile β Policy list file
--showfile β Show contents of a policy file--verifyfile β Verify policy version0x300file.--versionβ Show tool version.--helpβ Print out the tool's help message.--verboseβ Enable verbose output; can be specified with any command.
Lowkey the --verbose flag is the one you can slap onto literally anything here. It's giving β¨universalβ¨.
π₯ EXAMPLES π₯
Create unsigned policy list with MLE element:
lcp2_crtpollist --create --out list.lst mle.elt
Sign policy:
lcp2_crtpollist --sign --sigalg rsa --pub pubkey.pem --priv privkey.pem --out list.lst
Not me making a whole policy list in two commands π so easy it's iconic.
π SEE ALSO π
Full documentation of MLE, Intel(R) TXT and LCP is available in Intel(R) TXT Measured Launch Environment Deleveloper's Guide, available at:
http://www.intel.com/content/www/us/en/software-developers/intel-txt-software-development-guide.html
And that's the whole page, bestie π¦ this was brought to you by tboot, dated 2020-05-10 β go forth and create policy lists, you absolute legend πβ¨
π¦ where this page comes from
- centos-stream 10: tboot 1:1.11.12-1.el10 Β· BSD-3-Clause
- centos-stream 9: tboot 1:1.11.12-1.el9 Β· BSD
- debian bookworm: tboot 1.10.5-4 Β· BSD-3-Clause
- debian trixie: tboot 1.10.5-5 Β· BSD-3-Clause
- fedora 43: tboot 1:1.11.7-13.fc43 Β· BSD-3-Clause
- fedora 44: tboot 1:1.11.7-15.fc44 Β· BSD-3-Clause
- nixos 26.05: tboot 1.11.9
- opensuse-leap 16.0: tboot 20250417_1.11.10-160000.2.1 Β· BSD-3-Clause
- ubuntu noble: tboot 1.10.5-4 Β· BSD-3-Clause
- ubuntu questing: tboot 1.10.5-5ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms