HIRS/tools/tcg_rim_tool
iadgovuser26 e694242230
Update README.md
path fix in README.md
2020-07-23 16:38:24 -04:00
..
gradle/wrapper Rename project to tcg_rim_tool and move under tools/ directory 2020-01-06 16:14:04 -05:00
libs Rename project to tcg_rim_tool and move under tools/ directory 2020-01-06 16:14:04 -05:00
scripts Add symlink to /usr/local/bin/rim during rpm install 2020-06-19 07:29:20 -04:00
src Directory and File names are read from json, File size and hash are calculated from given -l <filepath> 2020-06-25 08:26:41 -04:00
build.gradle Update packaging script to install to /opt/hirs/rimtool 2020-06-16 08:11:12 -04:00
gradlew Rename project to tcg_rim_tool and move under tools/ directory 2020-01-06 16:14:04 -05:00
gradlew.bat Rename project to tcg_rim_tool and move under tools/ directory 2020-01-06 16:14:04 -05:00
keystore.jks Implement --create, --attributes, --out, and --help in JCommander 2020-06-08 06:50:46 -04:00
package.sh Install link to /usr/local/bin 2020-06-19 09:15:02 -04:00
privateRimKey.pem Implement --create, --attributes, --out, and --help in JCommander 2020-06-08 06:50:46 -04:00
README.md Update README.md 2020-07-23 16:38:24 -04:00
rim_fields.json [#217] Support reading conf settings from a json file (#218) 2020-02-21 07:43:40 -05:00
RimSignCert.pem Implement --create, --attributes, --out, and --help in JCommander 2020-06-08 06:50:46 -04:00
tcg_rim_tool.spec Install link to /usr/local/bin 2020-06-19 09:15:02 -04:00

To support the TCG RIM concept a new command line application alled the The tcg_rim_tool has been created. The tcg_ri_tool can be used to create NISTIR 8060 compatible SWID tags that adhere to the TCG PC Client RIM specification. It also supports the ability to digitally sign the Base RIM file as the HIRS ACA will require a valid signature in order to upload any RIM file.

Building

To build this tool navigate to the tcg_eventlog-tool directory and use the following commmand:

./gradlew clean build

Packaging

To package the tcg_rim_tool use the package.sh script to produce an RPM file. The rpm file will be located in the rpmbuild/RPMS/x86_64/ directory if the package script was sucessful.

Usage

The tcg_rim_tool rpm will create a rim commandline shortcut. This can be invoked from a command line:

rim -h

The tcg_eventlog_tool also can be invoked using java:

java -jar build/libs/tools/tcg_rim_tool-1.0.jar -h

Current options for the tool can be found using the -h option.