chiark / gitweb /
prefer apksigner if installed, jarsigner sucks
authorHans-Christoph Steiner <hans@eds.org>
Mon, 9 Jan 2017 16:35:58 +0000 (17:35 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 22 Mar 2017 09:51:12 +0000 (10:51 +0100)
commit223c7932011b11993e466db44f94881592e438b7
tree632fd90b0e515711bf32e061eb051627aa9da278
parentffd490d8da2548879a1cb2042345a2e49a379999
prefer apksigner if installed, jarsigner sucks

Google has their own utility for verifying APK signatures on a desktop
machine since Java's jarsigner is bad for the task.  For example, it
acts as if an unsigned APK validates.  And to check whether an APK is
unsigned using jarsigner is difficult.

apksigner also does the v2 signatures, so it will have to be used
eventually anyway.  It is already in Debian/stretch and can be
available in jessie-backports if need be.

https://android.googlesource.com/platform/tools/apksig
https://packages.debian.org/apksigner
fdroidserver/common.py
tests/common.TestCase