mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 18:56:29 +00:00
* Update Docker TPMProvisioner images to latest PACCOR. * Test updated docker images from hirs Docker Hub * Update TPM Provisioner Docker images with latest PACCOR (v1.1.4r1) * Updated TPM images on Docker Hub. * Update TPM provisioner docker images with PACCOR v1.1.4r2 * Updated docker-compose files * Updated TPM provisioner images in Docker Hub.
This commit is contained in:
parent
b899e0bbe0
commit
b73b7f218b
@ -5,7 +5,7 @@ RUN yum -y update && yum clean all
|
|||||||
RUN yum install -y tpm2-tools libcurl procps-ng wget dbus python-requests python2-future python36-future && yum clean all
|
RUN yum install -y tpm2-tools libcurl procps-ng wget dbus python-requests python2-future python36-future && yum clean all
|
||||||
|
|
||||||
# Install PACCOR for Device Info Gathering
|
# Install PACCOR for Device Info Gathering
|
||||||
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r1/paccor-1.1.4-1.noarch.rpm && yum -y install paccor-*.rpm && popd
|
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r2/paccor-1.1.4-2.noarch.rpm && yum -y install paccor-*.rpm && popd
|
||||||
|
|
||||||
# Install Software TPM for Provisioning
|
# Install Software TPM for Provisioning
|
||||||
RUN mkdir ibmtpm && pushd ibmtpm && wget https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1332.tar.gz && tar -zxvf ibmtpm1332.tar.gz && cd src && make -j5 && popd
|
RUN mkdir ibmtpm && pushd ibmtpm && wget https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1332.tar.gz && tar -zxvf ibmtpm1332.tar.gz && cd src && make -j5 && popd
|
||||||
|
@ -8,7 +8,7 @@ RUN yum install -y java-1.8.0-openjdk wget util-linux chkconfig sed systemd gmp-
|
|||||||
RUN mkdir tpm_module && pushd tpm_module && wget https://github.com/nsacyber/HIRS/releases/download/v1.1.1/tpm_module-1.1.1-1574364941.0c2005.x86_64.rpm && yum -y install tpm_module-*.rpm && popd
|
RUN mkdir tpm_module && pushd tpm_module && wget https://github.com/nsacyber/HIRS/releases/download/v1.1.1/tpm_module-1.1.1-1574364941.0c2005.x86_64.rpm && yum -y install tpm_module-*.rpm && popd
|
||||||
|
|
||||||
# Install PACCOR for Device Info Gathering
|
# Install PACCOR for Device Info Gathering
|
||||||
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r1/paccor-1.1.4-1.noarch.rpm && yum -y install paccor-*.rpm && popd
|
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r2/paccor-1.1.4-2.noarch.rpm && yum -y install paccor-*.rpm && popd
|
||||||
|
|
||||||
# Install Software TPM for Provisioning
|
# Install Software TPM for Provisioning
|
||||||
RUN mkdir tpm_emulator && pushd tpm_emulator && wget https://phoenixnap.dl.sourceforge.net/project/ibmswtpm/tpm4769tar.gz && tar -xzvf tpm4769tar.gz && pushd libtpm && ./autogen && ./configure && make && popd && pushd tpm && make -f makefile-tpm && popd && popd
|
RUN mkdir tpm_emulator && pushd tpm_emulator && wget https://phoenixnap.dl.sourceforge.net/project/ibmswtpm/tpm4769tar.gz && tar -xzvf tpm4769tar.gz && pushd libtpm && ./autogen && ./configure && make && popd && pushd tpm && make -f makefile-tpm && popd && popd
|
||||||
|
@ -756,6 +756,10 @@ parseNvmeData () {
|
|||||||
manufacturer="" # Making this appear as it does on windows, lshw doesn't see nvme drives and nvme-cli doesn't return a manufacturer field
|
manufacturer="" # Making this appear as it does on windows, lshw doesn't see nvme drives and nvme-cli doesn't return a manufacturer field
|
||||||
model=$(nvmeGetModelNumberForDevice "$i")
|
model=$(nvmeGetModelNumberForDevice "$i")
|
||||||
serial=$(nvmeGetNguidForDevice "$i")
|
serial=$(nvmeGetNguidForDevice "$i")
|
||||||
|
|
||||||
|
if [[ $serial =~ ^[0]+$ ]]; then
|
||||||
|
serial=$(nvmeGetEuiForDevice "$i")
|
||||||
|
fi
|
||||||
revision="" # empty for a similar reason to the manufacturer field
|
revision="" # empty for a similar reason to the manufacturer field
|
||||||
|
|
||||||
if [[ -z "${manufacturer// }" ]]; then
|
if [[ -z "${manufacturer// }" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user