platform_build/tools/releasetools
Alex Klyubin de5bc04717 Sign APKs using SHA-256 instead of SHA-1 when possible.
This changes the build system to provide the signapk tool with the
minSdkVersion of the APK being signed. signapk in turn will then use
SHA-256 instead of SHA-1 if minSdkVersion is 18 (JB MR2) or higher
(see c2c49ed0c1).

To avoid increasing incremental OTA update package sizes for already
released platforms, release build scripts disable the above logic when
signing target files ZIPs for pre-N platforms.

Bug: 25643280
Change-Id: I048393e0971d0d6559dbd69ea902754c6c7cab14
2016-01-21 10:25:12 -08:00
..
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py releasetools: Pack updatable images into IMAGES/ for A/B update. 2015-11-16 16:42:43 -08:00
blockimgdiff.py Fix print error of numbers of blocks 2016-01-14 19:13:21 -08:00
build_image.py build_image: don't call append2simg for FEC 2015-12-18 15:50:25 +00:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Fix the broken signing script 2015-06-03 17:36:12 -07:00
common.py Sign APKs using SHA-256 instead of SHA-1 when possible. 2016-01-21 10:25:12 -08:00
edify_generator.py releasetools: Abort the update on apply_patch failures. 2015-12-02 12:26:57 -08:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
img_from_target_files.py Honor TARGET_NO_RECOVERY flag. 2015-10-27 20:00:10 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py Merge "Check block0 for remounting partition R/W" 2016-01-08 00:49:49 +00:00
pylintrc Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
rangelib.py rangelib.py: Remove the obsolete comment line. 2015-09-08 12:08:24 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py Sign APKs using SHA-256 instead of SHA-1 when possible. 2016-01-21 10:25:12 -08:00
sparse_img.py sparse_img.py: Divide NONZERO blocks into groups. 2015-08-19 17:10:23 -07:00
target_files_diff.py releasetools: Allow logging the diff for incrementals. 2015-11-30 11:26:40 -08:00
test_common.py Fix the permission setting in common.ZipWriteStr() 2015-05-20 13:29:03 -07:00
test_rangelib.py rangelib.py: Fix the bug in monotonic check. 2015-08-26 21:16:43 -07:00