New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 622829 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

trunks: Get the TPM2 simulator running on Chrome OS

Project Member Reported by dkrahn@chromium.org, Jun 23 2016

Issue description

The simulator should be able to run in-process in trunksd. With minijail enabled.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/63846893ff1fbbae342c70950ea1973fa25a5e46

commit 63846893ff1fbbae342c70950ea1973fa25a5e46
Author: Darren Krahn <dkrahn@google.com>
Date: Thu Jun 23 20:24:45 2016

tpm2,trunks: Get the TPM2 simulator working for trunks.

BUG= chromium:622829 
TEST=manual

Change-Id: I1ebb0b61be8fdbf24ef7c7996c4ebdabbc6fed51
Reviewed-on: https://chromium-review.googlesource.com/355661
Commit-Ready: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>

[modify] https://crrev.com/63846893ff1fbbae342c70950ea1973fa25a5e46/chromeos-base/trunks/trunks-9999.ebuild
[modify] https://crrev.com/63846893ff1fbbae342c70950ea1973fa25a5e46/chromeos-base/tpm2/tpm2-9999.ebuild

Project Member

Comment 2 by bugdroid1@chromium.org, Jun 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/aosp/platform/system/tpm/+/74bf1c9a3a45994780b1d86d2da0015c8f0807e8

commit 74bf1c9a3a45994780b1d86d2da0015c8f0807e8
Author: Darren Krahn <dkrahn@google.com>
Date: Thu Jun 23 19:47:54 2016

trunks: Get the simulator working on Chrome OS.

BUG= chromium:622829 
TEST=manual

Change-Id: Ia11e18d83b83c92d7b34c57033d9d4e3cc885bcd
Reviewed-on: https://chromium-review.googlesource.com/355700
Commit-Ready: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>

[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-mips.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/tpm_simulator_handle.cc
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-arm64.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-amd64.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-x86.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-arm.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd.cc
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunksd-seccomp-x86_64.policy
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/tpm_simulator_handle.h
[modify] https://crrev.com/74bf1c9a3a45994780b1d86d2da0015c8f0807e8/trunks/trunks.gyp

Project Member

Comment 3 by bugdroid1@chromium.org, Jun 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/0f16f667487a09a373ef4e3d02db43610e3fb237

commit 0f16f667487a09a373ef4e3d02db43610e3fb237
Author: Darren Krahn <dkrahn@google.com>
Date: Thu Jun 23 20:59:32 2016

common-mk: Add a variable for the TPM2 simulator.

BUG= chromium:622829 
TEST=build

Change-Id: Iebe74267e05250164afec6d52ecd0197ed619bea
Reviewed-on: https://chromium-review.googlesource.com/355730
Commit-Ready: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>

[modify] https://crrev.com/0f16f667487a09a373ef4e3d02db43610e3fb237/common-mk/common.gypi

Project Member

Comment 4 by bugdroid1@chromium.org, Jun 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/a673044b209b32cf96c375f3c93418dc829f92a3

commit a673044b209b32cf96c375f3c93418dc829f92a3
Author: Andrey Pronin <apronin@google.com>
Date: Fri Jun 24 19:11:25 2016

trunks: Start trunksd in simulator mode if built with simulator

Start trunksd with --simulator flag if USE includes tpm2_simulator

BUG= chromium:622829 
TEST=build with USE="-tpm tpm2 tpm2_simulator", boot, see what starts

CL-DEPEND=CL:356216

Change-Id: I5d49466af0af94a3d42c796d76f473922f0c818e
Reviewed-on: https://chromium-review.googlesource.com/356188
Commit-Ready: Andrey Pronin <apronin@chromium.org>
Tested-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Darren Krahn <dkrahn@chromium.org>

[modify] https://crrev.com/a673044b209b32cf96c375f3c93418dc829f92a3/chromeos-base/trunks/trunks-9999.ebuild

Project Member

Comment 5 by bugdroid1@chromium.org, Jun 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/aosp/platform/system/tpm/+/ca9bdc109fb7230452f6d0f9f54f81bf210807f6

commit ca9bdc109fb7230452f6d0f9f54f81bf210807f6
Author: Andrey Pronin <apronin@google.com>
Date: Sat Jun 25 01:32:15 2016

trunks: add special .conf file for simulated mode

Create a special file to be used in case of USE="tpm2_simulator"
as /etc/init/trunksd.conf to start trunksd in simulated mode

BUG= chromium:622829 
TEST=none, to be combined with subsequent CLs

Change-Id: Ic8695932e2f5f56cfca2e20d1bf395f7a30dc267
Reviewed-on: https://chromium-review.googlesource.com/356216
Commit-Ready: Andrey Pronin <apronin@chromium.org>
Tested-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>

[add] https://crrev.com/ca9bdc109fb7230452f6d0f9f54f81bf210807f6/trunks/trunksd.conf.tpm2_simulator

Comment 6 by dkrahn@chromium.org, Jun 28 2016

Status: Fixed (was: Started)
Labels: VerifyIn-53
Labels: VerifyIn-54

Comment 9 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 10 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 11 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 12 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 13 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 14 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 16 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment