/apksign

Go based tool for signing android apks with Apk v2 sign.

Primary LanguageGoApache License 2.0Apache-2.0

apksign

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.

Usage

> apktool <unsigned.apk> <private.key> <public.crt>

Building

> 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

About Certificates

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.