diff options
author | Michael Groover <mpgroover@google.com> | 2021-09-15 15:28:32 -0700 |
---|---|---|
committer | Michael Groover <mpgroover@google.com> | 2021-09-15 15:28:32 -0700 |
commit | 6ee679bee6cbb4d23ea3d9a1686a893a6d4ad8b0 (patch) | |
tree | 67f01d81ac04ad12a855ee0968766724b621742c | |
parent | bef2413c90a3543ef4864cdbb4e2674cb969a8fc (diff) | |
download | apksig-6ee679bee6cbb4d23ea3d9a1686a893a6d4ad8b0.tar.gz |
Update apksigner sign help docs to include rotation-targets-dev-release
The v3.1 signature scheme supports targeting rotation for a platform
under development that is using the SDK version of the previously
released platform. This commit updates the documentation for this new
apksigner flag.
Bug: 192301300
Test: gradlew test
Change-Id: I9204411227f4a2949ce51a0c47ac072d86ee4deb
-rw-r--r-- | src/apksigner/java/com/android/apksigner/help_sign.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/apksigner/java/com/android/apksigner/help_sign.txt b/src/apksigner/java/com/android/apksigner/help_sign.txt index 372c891..66aec29 100644 --- a/src/apksigner/java/com/android/apksigner/help_sign.txt +++ b/src/apksigner/java/com/android/apksigner/help_sign.txt @@ -70,6 +70,15 @@ certificate. rotated signing keys will be used with the V3.1 signing block which supports Android T+. +--rotation-targets-dev-release The specified rotation-min-sdk-version is intended + for a platform release under development. During development + of a new platform, the API Level of the previously released + platform is used as the API Level of the development + platform until the SDK is finalized. This flag allows + targeting signing key rotation to a development platform + with API Level X while preventing the rotated key from being + used on the latest release platform with API Level X. + --debuggable-apk-permitted Whether to permit signing android:debuggable="true" APKs. Android disables some of its security protections for such apps. For example, anybody with ADB shell access |