Skip to content

Instantly share code, notes, and snippets.

@Andrew0000
Created September 13, 2024 20:46
Show Gist options
  • Save Andrew0000/fb4ca076fcbbef84e111201ee870a7ff to your computer and use it in GitHub Desktop.
Save Andrew0000/fb4ca076fcbbef84e111201ee870a7ff to your computer and use it in GitHub Desktop.
Convert jks to keystore and upload to Google Pay console (pepk.jar)
keytool -importkeystore
-srckeystore path\to\android\file.jks
-destkeystore path\to\keystore\file.keystore
-srcstorepass your_pass
-deststorepass your_pass
java -jar "path\to\Downloads\pepk.jar"
--keystore="path\to\keystore\file.keystore"
--alias=your_alias_here
--output=output.zip
--include-cert
--rsa-aes-encryption
--encryption-key-path="path\to\Downloads\encryption_public_key.pem"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment