Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 7.4 KB

creating_apk_keys.md

File metadata and controls

13 lines (12 loc) · 7.4 KB

Easy way (shared keys)

Create the following secrets in github -> your repo -> Settings -> Secrets and variables -> Actions -> Repository secrets:

  • SIGNINGKEYBASE64 =

MIITVwIBAzCCEwEGCSqGSIb3DQEHAaCCEvIEghLuMIIS6jCCC1EGCSqGSIb3DQEHAaCCC0IEggs+MIILOjCCBZcGCyqGSIb3DQEMCgECoIIFQDCCBTwwZgYJKoZIhvcNAQUNMFkwOAYJKoZIhvcNAQUMMCsEFHdC7IkZ1QbbiPX/kezpUHQOrBTsAgInEAIBIDAMBggqhkiG9w0CCQUAMB0GCWCGSAFlAwQBKgQQhWGIQTLtuYJ04KuxYpSzpQSCBNAIrgSjZqBF2Sgj83KHJkjjqh3sC/gJevV+y09o/ure9tOam0Km6FXjhEFYkQNZxGPbcVkcrq/1iZ9AHW6E35NDys2MgQtOFPtvJoJzEokTD8r3FmpNdoFV5mya+OQkzyYkLeD8xhpYtNy2TIrVBgxWtXYSp3dDQsfJKfOLYkb26vMpc25wXNTyWbs1SvR4K+UgTB1noo4nUzzx3MkOSl/2qSVrW75pLVB9RvGB6MW4V2GV0ZL2O0lQ2B6XC/ukXkCOzQB0U9JPjik4gLeJOr9P7O7thqAhl9LyODPWE1Pc5pgQCbh9e8HO+gv/dInnXKfe0br55cM3SlyWrYU3xyM6Q3fWQMZmTEJJOh042KLAtaKEzSpUAE1iCCb0ACozqvRnSzLtYDsKeBmwuKEezGQhEE4NGao9yZOHnDHq7ItJVtoqa/3oFCs1VkYKdEGBSKbeIrcQ9uqHE6xUNa2CoAybCH4kAoq8xq0EZ+FQbQbKqftjCH2texYQ7tXeD3FJK9bAhgDCQbb0SyudOifqYCxrusOmWunF1iUeTi7h5PwEHJsJcCjX79ZDqv1nb2Mem9SihqshH9rC+2MXhL7x0pNvYOVgg9c4Udb6FxEieuJdPicLcRtvlz/1/WJRd0a257vZkvTiK0MPsLwq8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LVs7kP6wJt1PL3A2Kr2V7/KdqibUx7yEOVGqyXJUQSL2T3NB6ms4VWMspXgkMXeCJEPEpClTia//UtdkZqSF6Ye7d6PMQm6aK0qDlsvAgHFcnGuJekXI3H9sCtgPa8T1uHiegmYzmzV4sOAgKkR14GBHYONjKlMjGmN7r//ZyU1ivFyb6fwgxthByoUmn7Nzni+5UKF7ZkzBNMDEwDQYJYIZIAWUDBAIBBQAEICeinuN73spx7oMSQ7zEK8KSZw/Ax2ypyYWLeevVg1uxBBQmPh+PY82CVo4nMp86iqQr8L+78wICJxA=

  • KEYSTOREPASSWORD = asdfasdf

These are the steps to generate such a key:

  • https://stackoverflow.com/questions/3997748/how-can-i-create-a-keystore. Use 'alpinemaps' as the alias!
  • If you have the android dev setup ready in Qt Creator, you can also create the keystore via Projects (on the left side toolboar) -> Android Qt ... -> Build -> Build Steps -> Build Android APK -> Application Signature -> Create. Use 'alpinemaps' as the alias!
  • Then you have to encode the keystore in base64, e.g., on linux via 'base64 keystorefile > keystorefile.base64'
  • Finally, create the following secrets in github -> your repo -> Settings -> Secrets and variables -> Actions -> Repository secrets SIGNINGKEYBASE64 = the base64 encoded key KEYSTOREPASSWORD = the password used to create the keystore