)]}'
{
  "commit": "c218a470fb97a627b097210fdffadca58dade3fe",
  "tree": "159d0f468d185fa352fa00017fdc664d5349804c",
  "parents": [
    "7b8a7936dd653ae1082ec59d1e8d9aea2f79be40"
  ],
  "author": {
    "name": "Tao Bao",
    "email": "tbao@google.com",
    "time": "Mon Jun 19 15:48:02 2017 -0700"
  },
  "committer": {
    "name": "Tao Bao",
    "email": "tbao@google.com",
    "time": "Wed Jun 28 12:38:32 2017 -0700"
  },
  "message": "Support replacing AVB signing keys.\n\nsign_target_files_apks.py now supports signing targets using verified\nboot 2.0 (aka AVB). It allows replacing AVB signing keys for both of\nchained and non-chained partitions.\n\nAn example command line looks as follows.\n $ ./build/tools/releasetools/sign_target_files_apks.py \\\n     --avb_vbmeta_key external/avb/test/data/testkey_rsa2048.pem \\\n     --avb_vbmeta_algorithm SHA256_RSA2048 \\\n     --avb_vbmeta_extra_args \\\n         \"--signing_helper_with_files ./signing-helper.sh\" \\\n     --avb_system_key external/avb/test/data/testkey_rsa4096.pem \\\n     --avb_system_algorithm SHA256_RSA4096 \\\n     --avb_system_extra_args \\\n         \"--signing_helper_with_files ./signing-helper.sh\" \\\n     product-target_files.eng.zip signed-product-target_files.zip\n\nTo verify the signed images:\n $ unzip signed-product-target_files.zip IMAGES/\\*\n $ avbtool verify_image --image IMAGES/vbmeta.img \\\n     --expected_chain_partition system:1:testkey_rsa4096_pub.pem \\\n     --key external/avb/test/data/testkey_rsa2048.pem\n\nBug: 38315721\nTest: sign_target_files_apks.py on AVB-enabled target w/ and w/o chained\n      partitions respectively. Check the signing command lines; validate\n      the signed images with \u0027avbtool verify_image\u0027.\nChange-Id: Ia009555b16ddb6d8ba6a0858d5ca7d983bbab887\n(cherry picked from commit 639118ff4dc299a4a9b335ed9a7d6ec0b4ed33b0)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9cdaa187c0c5878a8775990052770b79ecf7f30b",
      "old_mode": 33261,
      "old_path": "tools/releasetools/sign_target_files_apks.py",
      "new_id": "3cf8ce711c584396ef6cae99dbf0b786b20c2628",
      "new_mode": 33261,
      "new_path": "tools/releasetools/sign_target_files_apks.py"
    }
  ]
}
