Skip to main content

GitHub Release Python Versions CI GPLv3+

apksigcopier - copy/extract/patch apk signatures

Extract:

$ mkdir meta
$ apksigcopier extract signed.apk meta
$ ls -1 meta
DUMMY.RSA
DUMMY.RSA.json
DUMMY.SF
DUMMY.SF.json
MANIFEST.MF
MANIFEST.MF.json
sigblock
sigoffset

Patch:

$ apksigcopier patch meta unsigned.apk out.apk

Copy (Extract & Patch):

$ apksigcopier copy signed.apk unsigned.apk out.apk

Help

$ apksigcopier --help

Tab Completion

For Bash, add this to ~/.bashrc:

eval "$(_SHTST_COMPLETE=source_bash apksigcopier)"

For Zsh, add this to ~/.zshrc:

eval "$(_SHTST_COMPLETE=source_zsh apksigcopier)"

For Fish, add this to ~/.config/fish/completions/apksigcopier.fish:

eval (env _SHTST_COMPLETE=source_fish apksigcopier)

Requirements

  • Python >= 3.7 + click + apksigner + zip.

Debian/Ubuntu

$ apt install python3-click apksigner zip

Installing

Using pip

$ pip install apksigcopier

NB: depending on your system you may need to use e.g. pip3 --user instead of just pip.

From git

NB: this installs the latest development version, not the latest release.

$ git clone https://github.com/obfusk/apksigcopier.git
$ cd apksigcopier
$ pip install -e .

NB: you may need to add e.g. ~/.local/bin to your $PATH in order to run apksigcopier.

To update to the latest development version:

$ cd apksigcopier
$ git pull --rebase

License

GPLv3+

Metadata

Release files for apksigcopier 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apksigcopier 0.0.1
File Size Uploaded
apksigcopier-0.0.1.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apksigcopier 0.0.1
File Interpreter ABI Platform
apksigcopier-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.6 kB

Release files / apksigcopier-0.0.1.tar.gz

Download URL apksigcopier-0.0.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
22543f851aef4b77d60a239ba827fd1416b230e2069a43870b137363c016468d
BLAKE2b-256 checksum
How to use checksums
ad3468fce24d94e81a99ffa127a77d2b257d7428f08c5458ea3aad163d46e119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / apksigcopier-0.0.1-py3-none-any.whl

Download URL apksigcopier-0.0.1-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef9026e44ac5996d80081c2e56ce728218dea6446348fb040b6dc7d22153c676
BLAKE2b-256 checksum
How to use checksums
0398fc676b325621e9f84187dc4c5d6968297055e41b4db0845caefb4bd12bdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.2

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page