commit | 800e7c9514c1ea5aa9267a19217086363d6d8c4d | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Jul 12 22:37:39 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 13 10:23:27 2023 +0000 |
tree | 3543adb39b0f1ba5d84f651a2840edc885b7dce4 | |
parent | d1c392a788043f2bd82d936a334bd01e1be97421 [diff] |
m/p/tpm: fix garbage when logging PCRs Casting an int to a string causes it to be interpreted as a byte of an UTF-8 string, not converted to the respective UTF-8 character(s). Use strconv instead to actually convert the integers to valid UTF-8 text. Change-Id: I4878d9312f2fd2f2401e7fc3ba0e7a69cbca4d9e Reviewed-on: https://review.monogon.dev/c/monogon/+/1925 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...