Created
October 26, 2019 10:21
-
-
Save alt236/835f77a53f23f44b0b66372ed6edd6a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 10950=365 * 30 | |
FILENAME=debug.keystore | |
VALIDITY=10950 | |
STORE_TYPE=pkcs12 | |
ALGO=RSA | |
KEY_SIZE=2048 | |
keytool -genkey -v -keystore $FILENAME -keyalg $ALGO -keysize $KEY_SIZE -validity $VALIDITY -storetype $STORE_TYPE -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment