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.
gradle clean build
gradle clean build buildRpm buildDeb distZip
gradlew clean build buildRpm buildDeb distZip
gradlew.bat clean build buildRpm buildDeb distZip
Platform Credential Creator User Guide (PDF)
https://trustedcomputinggroup.org/resource/tcg-platform-attribute-credential-profile/