)]}'
{
  "commit": "f1628ac0972b8ee7da19322514dc229872b5982b",
  "tree": "9720402ab66d83dbd69844ffea60403e73756f26",
  "parents": [
    "2b0f3d3df1fd3f71b57bb2ea581a649678b2451e"
  ],
  "author": {
    "name": "Serge Bazanski",
    "email": "serge@monogon.tech",
    "time": "Thu May 25 14:43:19 2023 +0200"
  },
  "committer": {
    "name": "Serge Bazanski",
    "email": "serge@monogon.tech",
    "time": "Wed May 31 12:25:21 2023 +0000"
  },
  "message": "m/n/core/localstorage/crypt: support more enc/auth modes\n\nThis is in preparation for introducing configurable disk\nencryption/authentication policies in Metropolis (eg. low integrity\nmode).\n\nWe also use the opportunity to add some tests for the newly refactored\ncrypt library. All modes go through an end-to-end test making sure data\nis preserved and repeatedly mapping/unmapping the device works.\n\nThis change also disables insecure mode in debug builds. The equivalent\nfunctionality will be re-established at a higher level in the cluster\ncode in a subsequent change, alongside the encryption/authentication\npolicy code.\n\nChange-Id: I85db001c7c37a918cb491b1fcc3a51ea1d715817\nReviewed-on: https://review.monogon.dev/c/monogon/+/1724\nTested-by: Jenkins CI\nReviewed-by: Lorenz Brun \u003clorenz@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84b289bce9c1d5222fdb3bad25b02e09667d5062",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/crypt/BUILD.bazel",
      "new_id": "b330bf17de38516e4737a57dcced50101e35388e",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "8b572e8509ba5e7495b7d91784a9bdf3cfe92b03",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/crypt/blockdev.go",
      "new_id": "8379180630aff86ae83e51a6b699f2d48509e88a",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/blockdev.go"
    },
    {
      "type": "modify",
      "old_id": "e84390ea7e79651fb5eac7c5d1a0e920d18df8fe",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/crypt/crypt.go",
      "new_id": "af7451be3809c2c20ace13c2742dcee4cd65e29b",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/crypt.go"
    },
    {
      "type": "delete",
      "old_id": "2fbdc50b0569b292f29271a8fd439c90fe3f942f",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/crypt/crypt_debug.go",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4fd60611735c56dc27e61338930c20cf013e404c",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/crypt_encryption.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4130aef68d27f0cdbcab573004fb524d5f1dd316",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/crypt_integrity.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f021e565e14529a296e1ebe9052841bf08ee282e",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/crypt/crypt_test.go"
    },
    {
      "type": "modify",
      "old_id": "d88afb719369f9bbfcac759e1fe7be0bf07fd59e",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/directory_data.go",
      "new_id": "f824ac21155fa853c04a1872bd3e6a4b87ff56b5",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/directory_data.go"
    }
  ]
}
