Coder Social home page Coder Social logo

Comments (9)

iadgovuser26 avatar iadgovuser26 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

@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.

apldev3 avatar apldev3 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

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.

iadgovuser26 avatar iadgovuser26 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

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.

apldev3 avatar apldev3 commented on July 17, 2024

The guide has been posted here.

from hirs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.