)]}'
{
  "commit": "0ebf22199a8cc937055dbfd2adbbc9b642eadcf4",
  "tree": "efc06e659f8de16aa668281e9e44190c321c7b45",
  "parents": [
    "c305f6afd88d8fac9269759038c88bd170ce9e32"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Wed Dec 11 08:44:46 2013 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Tue Feb 11 21:31:08 2014 +0000"
  },
  "message": "Get user\u0027s SSH verified keys only using published info.\n\nUse the GitHub public and unrestricted API for accessing\nthe user\u0027s SSH public keys.\nThere are a couple of benefits associated to this:\n1. Get only the SSH keys that have been verified for \n   that user and made public to all the world.\n2. Avoid requesting the \"user\" scope during OAuth\n   which grants unnecessary WRITE access to the user\u0027s\n   profile.\n\nThe latter raised concerns on people in doubt of \nwhat Gerrit would have done to their GitHub user\u0027s\nprofile because of the involuntary WRITE access\nrequested before.\n\nDrawbacks: we cannot get anymore the SSH label associated\nto the published keys, as GitHub keeps that info\nconfidential. This is an acceptable price to pay in \norder to lower the concerns on the GitHub OAuth scope. \n\nNOTE: This commit uses a pending pull request on \nKohsuke\u0027s GitHub API on master \n(see https://github.com/kohsuke/github-api/pull/61) \n\nChange-Id: If53ddbbc90dd8e45de53caaf12a6e0fc69b8ee25",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87da1d19495a993ddcd5fd53c92cfb0c4681ca69",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java",
      "new_id": "20fb53be3ce1448246a4c66ee236cf0ec3e063b9",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java"
    },
    {
      "type": "modify",
      "old_id": "47b318d04f5f5c62b348e1677e5bdfbf9f7f269e",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/resources/static/account.html",
      "new_id": "ed51218d1ccb66e5920fae4eafc93452a5cbb45d",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/resources/static/account.html"
    }
  ]
}
