Skip to content

Credential Specification Version Attribute

There is an attribute within the Platform Certificate where the exact version of specification is captured. In the definition of the attribute you'll see three integers where each part of the specification version should be found. PACCOR looks for that value within the Attributes JSON file and enforces requirements for that version on the rest of the platform certificate it generates.

TCG Certificate Specification definition

tcg-at-tcgCredentialSpecification = 2.23.133.4.23

tCGCredentialSpecification ATTRIBUTE ::= {
     WITH SYNTAX TCGSpecificationVersion
     ID tcg-at-tcgCredentialSpecification }

TCGSpecificationVersion ::= SEQUENCE {
     majorVersion INTEGER,
     minorVersion INTEGER,
     revision INTEGER }

Review a certificate with paccor view

PACCOR's view command will tell you the version of an existing Platform Certificate.

paccor view -X <path to platform certificate>

paccor view example

Inputs

Steps

  1. Download these input files.
  2. Run paccor view -X platform_cert.20250909102720.crt
  3. Review the output for text that looks like: Certificate Spec Version: 2.0
  4. Open the Attributes JSON in a text editor.
  5. Look for a line that says "TCGCREDENTIALSPECIFICATION": {
  6. Notice the MAJORVERSION value is 2.
  7. Notice the MINORVERSION value is 0.

Check the version of Platform Certificate paccor will generate

  1. Open the Attributes JSON file.
  2. Look for these properties and notice how they relate to the spec definition:
"TCGCREDENTIALSPECIFICATION": {
        "MAJORVERSION": "1",
        "MINORVERSION": "1",
        "REVISION": "19"
    },

If that doesn't exist, you'll need to create it or run the referenceoptions script.

Within that file you can find the TCGCREDENTIALSPECIFICATION key to review or change that value.

Attributes JSON

If you run the pc_certgen script, PACCOR will generate the Attributes JSON and choose a default version of platform certificate to create.

First, look for this file:

paccor/
  scripts/pc_testgen/localhost-policyreference.json

If the Attributes JSON doesn't exist yet.

Check the referenceoptions script on your chosen platform, and review or edit these keys. Once the JSON is generated, PACCOR will not overwrite the Attributes JSON file.

Script to generate the Attributes JSON on your chosen platform:

scripts/referenceoptions.sh
scripts/windows/referenceoptions.ps1

Script property keys

tcgCredentialSpecificationMajorVersion
tcgCredentialSpecificationMinorVersion
tcgCredentialSpecificationRevision

Steps to change the version of the platform certificate paccor will create

The pc_certgen script will not overwrite an existing Attributes JSON file.

Follow the steps to check the version of the platform certificate paccor will generate.

You can either edit the JSON file, or delete it and edit the referenceoptions script.

Generate a 2.1 platform certificate

Follow these steps and set the properties to match the following.

tcgCredentialSpecificationMajorVersion="2" # Released Jan 27, 2026
tcgCredentialSpecificationMinorVersion="1"
tcgCredentialSpecificationRevision="0"

Generate a 1.1 platform certificate

Follow these steps and set the properties to match the following.

tcgCredentialSpecificationMajorVersion="1" # Released April 10, 2020
tcgCredentialSpecificationMinorVersion="1"
tcgCredentialSpecificationRevision="19"