• osm0sis's avatar
    signing: fixes for bootimg hdr_v1 and hdr_v2 · c85b1c56
    osm0sis authored
    - increase SignBoot bootimg header version maximum from 4 to 8 (upstream AOSP is already at 3) and make a variable for future ease
    - hdr read size of 1024 bytes was too small as hdr_v1 and hdr_v2 have increased the used header page areas to 1632 and 1648 bytes, respectively, so raise this to the minimum page size of 2048 and also make a variable for future ease
    - do not return "not signed" for all caught exceptions, show StackTrace for future debugging then still return false for script purposes
    - correct "test keys" boot image signing strings (scripts and app) to "verity keys"
    c85b1c56
Name
Last commit
Last update
app Loading commit data...
docs Loading commit data...
gradle/wrapper Loading commit data...
native Loading commit data...
scripts Loading commit data...
shared Loading commit data...
signing Loading commit data...
snet Loading commit data...
stub Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.MD Loading commit data...
build.gradle Loading commit data...
build.py Loading commit data...
config.prop.sample Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...