boklm pushed to branch maint-16.0 at The Tor Project / Applications / tor-browser-build Commits: a452d148 by Nicolas Vigier at 2026-11-05T15:26:59+01:00 Bug 41814: Use new apksigner from build-tools_r37_linux.zip - - - - - 127492b1 by Nicolas Vigier at 2026-11-05T15:27:07+01:00 Bug 41814: Adapt verify_apk() for new apksigner With the new apksigner version the output of `apksigner verify --print-certs --verbose` changed a little. The lines now starts with `V3.0 Signer:` instead of `Signer #1`. - - - - - 2 changed files: - tools/signing/linux-signer-sign-android-apks - tools/signing/wrappers/sign-apk Changes: ===================================== tools/signing/linux-signer-sign-android-apks ===================================== @@ -23,7 +23,7 @@ check_installed_packages() { } setup_build_tools() { - abt_version=16 + abt_version='37.0' build_tools_dir=/signing/android-build-tools test -f "$build_tools_dir"/android-$abt_version/apksigner || \ exit_error "$build_tools_dir/android-$abt_version/apksigner is missing" @@ -40,15 +40,15 @@ verify_apk() { scheme_v3="Verified using v3 scheme (APK Signature Scheme v3): true" if test "$tbb_version_type" = "alpha"; then - cert_digest="Signer #1 certificate SHA-256 digest: 15f760b41acbe4783e667102c9f67119be2af62fab07763f9d57f01e5e1074e1" - pubkey_digest="Signer #1 public key SHA-256 digest: 4e617e6516f81123ca58e718d617a704ac8365c575bd9e7a731ba5dd0476869d" + cert_digest="V3.0 Signer: certificate SHA-256 digest: 15f760b41acbe4783e667102c9f67119be2af62fab07763f9d57f01e5e1074e1" + pubkey_digest="V3.0 Signer: public key SHA-256 digest: 4e617e6516f81123ca58e718d617a704ac8365c575bd9e7a731ba5dd0476869d" else - cert_digest="Signer #1 certificate SHA-256 digest: 20061f045e737c67375c17794cfedb436a03cec6bacb7cb9f96642205ca2cec8" - pubkey_digest="Signer #1 public key SHA-256 digest: 343ca8a2e5452670bdc335a181a4baed909f868937d68c4653e44ef84de8dfc6" + cert_digest="V3.0 Signer: certificate SHA-256 digest: 20061f045e737c67375c17794cfedb436a03cec6bacb7cb9f96642205ca2cec8" + pubkey_digest="V3.0 Signer: public key SHA-256 digest: 343ca8a2e5452670bdc335a181a4baed909f868937d68c4653e44ef84de8dfc6" fi if test "$SIGNING_PROJECTNAME" = "torvpn"; then - cert_digest="Signer #1 certificate SHA-256 digest: c2f6ffa30e56a7c53a226248ef908612ee539df2f52bede5a55037425b83331d" - pubkey_digest="Signer #1 public key SHA-256 digest: fddc5f93ae0bc971e951481b0b5e6b62e47040fe979ff535cf75daade2f13f3d" + cert_digest="V3.0 Signer: certificate SHA-256 digest: c2f6ffa30e56a7c53a226248ef908612ee539df2f52bede5a55037425b83331d" + pubkey_digest="V3.0 Signer: public key SHA-256 digest: fddc5f93ae0bc971e951481b0b5e6b62e47040fe979ff535cf75daade2f13f3d" fi for digest in "${scheme_v2}" "${scheme_v3}" "${cert_digest}" "${pubkey_digest}"; do test -z "$digest" && continue ===================================== tools/signing/wrappers/sign-apk ===================================== @@ -29,7 +29,7 @@ test -n "$SIGNING_PROJECTNAME" && test "$SIGNING_PROJECTNAME" = 'torvpn' && \ test -f "$android_signing_key_path" || exit_error "$android_signing_key_path is missing" setup_build_tools() { - abt_version=16 + abt_version='37.0' build_tools_dir=/signing/android-build-tools test -f "$build_tools_dir"/android-$abt_version/apksigner || \ exit_error "$build_tools_dir/android-$abt_version/apksigner is missing" View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/5... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/5... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
boklm (@boklm)