)]}'
{
  "commit": "9ac85891bb3cfba4ecb45c8cf9fff3e639e2126a",
  "tree": "f2066875e3b07121b324a08e21966f0e4052894f",
  "parents": [
    "3f3f250212ca68fb74f921d4079c7eb94b005328"
  ],
  "author": {
    "name": "Aaron Gable",
    "email": "aaron@letsencrypt.org",
    "time": "Thu Sep 30 11:00:56 2021 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Sep 30 11:00:56 2021 -0700"
  },
  "message": "lint: check that cert doesn\u0027t have extra +1s (#5677)\n\nAdd a new lint, which applies to all certs, not just one kind of\r\nroot/intermediate/subscriber cert, which checks that the validity\r\nperiod is a round number of minutes; i.e. that it doesn\u0027t have an\r\nextra second of validity, like 90d+1s.\r\n\r\nIn general, if all certs are issued with validities much less than\r\nthe limits imposed by root program requirements, being off by one\r\nsecond one way or another shouldn\u0027t matter much. But since it is\r\neasy to mistakenly configure a cert to have notBefore and notAfter\r\ntimestamps with the exact same second value, this lint will force\r\npeople configuring profiles to think critically about their cert\r\nlifetimes.\r\n\r\nFixes #5669",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2ae3c6e5a4af4cd83caae51f789198b276ccdabd",
      "old_mode": 33188,
      "old_path": "linter/linter.go",
      "new_id": "1bf04fef2b3c86b0830adc8d0774f99ae752225c",
      "new_mode": 33188,
      "new_path": "linter/linter.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "188ce14564200f9cc869b332260232b3fb49f8b9",
      "new_mode": 33188,
      "new_path": "linter/lints/all/w_validity_period_has_extra_second.go"
    },
    {
      "type": "modify",
      "old_id": "54e963821d5a583bdb66ff6c9e7291534fae480e",
      "old_mode": 33188,
      "old_path": "linter/lints/common.go",
      "new_id": "87dc43390fd2b6ed431d9fe2787276cbca28d82b",
      "new_mode": 33188,
      "new_path": "linter/lints/common.go"
    }
  ]
}
