ClaudiuGeorgiu/Obfuscapk

sign bundle .aab with custom key

khanbaba opened this issue · 0 comments

Description

The aabSigner does not use my custom keystore file to sign the .aab bundle, instead it signs with a predefined key file.

Steps to reproduce

  1. resign an aab app
  2. try to install it on previous version of that app or uploading it as a new release to google play console
  3. the keys are different and so you can not update the app.

Versions

  • Installation mode : source
  • Obufscapk version : commit adb6e64
  • OS: Ubuntu 20.04
  • Python version : 3.8.10
  • Apktool version : 2.8.1

Additional information

command used:
python3 -m obfuscapk.cli -p -i -w ./myapp -d /new-app.aab -o RandomManifest -o Goto -o Nop -o ArithmeticBranch -o Rebuild -o NewAlignment -o NewSignature --keystore-file ./keys/upload.jks --keystore-password xxxxxxxx --key-alias xxx --key-password xxxxxx /app.aab