)]}'
{
  "commit": "662182fd732fb523ee76bdc069f603bc378a6d2e",
  "tree": "0dbebeb12a8be1de9f19d31d6c6319e005af749e",
  "parents": [
    "74440ac441be981eb570dc37036e71bf25a04492"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Thu Mar 10 14:06:48 2022 +0100"
  },
  "committer": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Thu Mar 10 16:24:34 2022 +0000"
  },
  "message": "m/p/tpm: use secretbox with seal/unseal for larger payloads\n\nNatively the Seal/Unseal operation in the TPM 2.0 specification only\nsupports up to 128 bytes of payload. If you need to seal more than that\nthe specification tells you to generate and seal a key and use that to\nencrypt and authenticate the rest of the data. This CL implements said\nmechanism transparently as part of the Seal and Unseal functions using\na nacl-compatible secretbox as the authenticated encryption primitive.\n\nChange-Id: I0a724b12aae5e5151d103b52ed13b71c864076ab\nReviewed-on: https://review.monogon.dev/c/monogon/+/626\nReviewed-by: Sergiusz Bazanski \u003cserge@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1cafbf393f79b2850fa82efea8d3069abcfdf2be",
      "old_mode": 33188,
      "old_path": "metropolis/pkg/tpm/BUILD.bazel",
      "new_id": "da2154a299e7ee4924dcae5b9f0e6d88499646c5",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/tpm/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7d7ee869d5fd097f35e83795f43caba7bac0071e",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/tpm/proto/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "29b74aa97b571059f354b7fbd0331b0ee3786e0c",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/tpm/proto/tpm.proto"
    },
    {
      "type": "modify",
      "old_id": "de9b0d86f6c2f4e60b313a0156750b4ac479feea",
      "old_mode": 33188,
      "old_path": "metropolis/pkg/tpm/tpm.go",
      "new_id": "fe7c6980663543591e66c5b27f373e02e60cb1c1",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/tpm/tpm.go"
    }
  ]
}
