)]}'
{
  "commit": "ff0f860483e344f1af633f94696ff7bc1854611f",
  "tree": "65448287a264184b9f8c911cc1cbc992f24d7976",
  "parents": [
    "8b14652e506d99499cfbeaed0df07d6a83ec029e"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Fri Oct 06 12:43:02 2023 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Fri Oct 06 12:50:43 2023 +0100"
  },
  "message": "[libc] Use wall clock time as seed for the (non-cryptographic) RNG\n\nWe currently use the number of timer ticks since power-on as a seed\nfor the non-cryptographic RNG implemented by random().  Since iPXE is\noften executed directly after power-on, and since the timer tick\nresolution is generally low, this can often result in identical seed\nvalues being used on each cold boot attempt.\n\nAs of commit 41f786c (\"[settings] Add \"unixtime\" builtin setting to\nexpose the current time\"), the current wall-clock time is always\navailable within the default build of iPXE.  Use this time instead, to\nintroduce variability between cold boot attempts on the same host.\n(Note that variability between different hosts is obtained by using\nthe MAC address as an additional seed value.)\n\nThis has no effect on the separate DRBG used by cryptographic code.\n\nSuggested-by: Heiko \u003cheik0@xs4all.nl\u003e\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "975a03cf588ecd8161e4fa0f253763a20d96fca4",
      "old_mode": 33188,
      "old_path": "src/core/random.c",
      "new_id": "e3251964befec3e6e3055c4b0947b93458d7de2f",
      "new_mode": 33188,
      "new_path": "src/core/random.c"
    }
  ]
}
