This program can create platform credentials according to the Platform Certificate Profile v1.0. A platform certificate (PC) is a X.509v2 Attribute Certificate which encapsulates details about components on a host and the security standards met by the platform manufacturer.
This program can assist in gathering all of the data that can go into a PC and produce a signed attribute certificate.
The device component information gathering aspect of the program is platform-dependent. That aspect has been written and tested for CentOS 7. Support for additional platforms is coming soon. This platform dependency is limited to bash scripts. An advanced user may customize the scripts to their own purpose. The User Guide contains details regarding which scripts are platform dependent, and the data format expected as their output.
This source code contains our attempts at capturing ASN.1 definitions from TCG Credential specification documents in Java. The idea is to use the BouncyCastle style for parsing/building ASN.1 elements. The coding style is our own twist on what we found in the source code of BouncyCastle's provider library, especially those classes in org.bouncycastle.asn1.x509.
Head to the Releases page and download the package relevant to your OS to begin using paccor.
To build the project yourself, paccor uses Gradle to manage build tasks. paccor has been tested with Gradle 4.5.1
. Later versions of Gradle may also work.
- If you already have gradle installed on your system, you can run:
gradle clean build
- The following arguments can be added to build the relevant package:
gradle clean build buildRpm buildDeb distZip
- The following arguments can be added to build the relevant package:
- If you don't have gradle installed, use the included gradle wrapper.
gradlew clean build buildRpm buildDeb distZip
- On Windows use:
gradlew.bat clean build buildRpm buildDeb distZip
- Validation of the gradle wrapper jar file is performed by a GitHub Action maintained by Gradle:
https://github.com/marketplace/actions/gradle-wrapper-validation
Instructions to verify the Gradle Wrapper JAR locally are available here.
- On Windows use:
- Gradle 4.5.1
- Java 1.8.0
Platform Credential Creator User Guide (PDF)
https://trustedcomputinggroup.org/resource/tcg-platform-attribute-credential-profile/