Comments (9)
The HIRS build pages imply that building with Debian (and hence Ubuntu) is supported. However the section on building the TPM 2.0 Provisioner is missing instructions on building in Debian. I attempted to build the TPM 2.0 Provisioner on Ubuntu 18.04.1 and it failed.
Building via gradle currently attempts to build all projects so the TPM2 provisioner build will need to work. The package script utilizes gradle build so no packages can be built until the TPM2 provisioner builds.
from hirs.
@iadgovuser26 testing the Gradle build locally after some small updates. If it works, I'll be pushing up a merge request to at least get the build to work. Packaging into a Debian format will still need additional time, but it should stop overall build from failing.
from hirs.
The Pull Request that's currently up provides a list of the necessary dependencies to build the TPM 2.0 Provisioner on Ubuntu. It also fixes a bug that prevents the code from compiling. Additionally, the build guide has been updated to provide an example apt-get
command with all the necessary dependencies for building on Ubuntu. As of now, we still don't have support for Packaging a DEB for Ubuntu. That will be coming next.
from hirs.
With the latest push, we have a first crack at supporting Ubuntu 18.04 Code-wise. The next step will be to test the code in a live environment and, pending its success, then work to make the DEB package.
from hirs.
I had some trouble building the HIRS_ProvisionerTPM2 project with this commit.
Error was with cmake, at build/lib/cpr-src/opt/CMakelists.txt:60.
Had to delete the build directory , then it seemed to work fine.
from hirs.
With the current Merge Request that's up, Ubuntu building/packaging has been added, and support for Ubuntu 17.10 is confirmed, but there seems to be an issue with the performing the last major step of the provisioning process on Ubuntu 18.04. Will update as more becomes known.
from hirs.
Before closing this ticket, I feel an update is pertinent. Current investigation towards supporting Ubuntu 18.X releases out-of-the-box is not promising. There seems to be a bug(s) relating to the version of tpm2-tools that is natively available to Ubuntu 18.X. As of 18.04 the version was updated to 2.1.0.
This particular version is known to have some bugs in major tools, and it has been suggested that users upgrade.
Unfortunately, this is a bit of a manual process, so I would propose as a last update to this task updating the build guide to provide a quick and easy means of downloading, building, and installing newer versions of tpm2-tools.
from hirs.
A MR is up that will finalize "support" for Ubuntu. That being said, a guide for installing the appropriate versions of Tpm2-tss, Tpm2-Tools, and Tpm2-Abrmd from source has been written and is being reviewed for publication. That guide will be necessary for those looking to install and use the TPM 2.0 Provisioner in Ubuntu environments.
from hirs.
The guide has been posted here.
from hirs.
Related Issues (20)
- Update .NET Provisioner to handle an LDevID Certificate returned at the end of provisioning
- Enable GZIP compression on ACA web server
- Add SPDM Events Part 1
- Package install should check for existing setup
- V3 ACA Package upgrade
- RIM upload does not succeed HOT 1
- Add StartupLocality processing to the event processing
- tcg_eventlog_tool missing HIRS_Util library HOT 1
- Fix eventlog PCR7 from printing a significant number of lines with "unknown GUID"
- Move PciIds from AttestationCA back to Utils
- Add unit test for SPDM EV_EFI_SPDM_FIRMWARE_BLOB
- Fix unit test DeviceInfoReportTest
- Display ACA certificate dates in UTC time
- Trigger single provision with EK Cert Validation HOT 1
- Add ACA Container built from source on Rocky 9
- Embedded cert requires manual upload HOT 1
- Event processing when no access to vendor-table.json
- During upload RIMs are mislabeled
- RIM embedded certs are not validated
- Add Policy Tests to V3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hirs.