Go based tool for signing android apks with Apk v2 sign.
Credits go to morrildl. The mechanism used in this tool was implemented in their playground-android repository.
> apktool <unsigned.apk> <private.key> <public.crt>
> make
or
> make deps # Download dependencies
> go build
If you want to run the tool without compiling it you may also go for
> make deps # Download dependencies
> go run main.go
Unlike jarsigner
this tool uses a pair of public and private key instead of a java keystore.
You can generate a key pair using openssl.