Last active
August 23, 2023 05:21
-
-
Save pennya/2ee6e0c897890514b91743e720676f44 to your computer and use it in GitHub Desktop.
SHA-1 -> Base64 String in terminal
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
Android Studio IDE를 통해 Release Signing Key를 생성한다. | |
아래 명령어를 통해 사이닝키 SHA-1 값을 Base64로 인코딩한 값을 출력하여 페이스북, 카카오 API에 해시를 등록할 수 있다. | |
keytool -exportcert -alias allcommunity -keystore /Users/kim/Desktop/allcommunity.jks | openssl sha1 -binary | openssl base64 | |
만약 구글 플레이 개발자 콘솔에서 Google play app signing 기능을 활성화시키셨다면 | |
구글 플레이에 앱이 릴리즈되기 전에 개발자의 로컬 개발 환경에서 릴리즈 키스토어의 시그너쳐가 삭제되고 | |
구글 서버에 저장되어 있는 사이닝키의 시그너쳐로 교체됩니다. 그렇기 때문에 이 사이닝키로 생성한 키해시 또한 등록해줘야 합니다. | |
google play console > 해당 앱 선택 > 메뉴에서 출시관리 > 앱서명 | |
echo 33:4E:48:84:19:50:3A:1F:63:A6:0F:F6:A1:C2:31:E5:01:38:55:2E | xxd -r -p | openssl base64 | |
output : M05IhBlQOh9jpg/2ocIx5QE4VS4= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
echo 90:77:57:3E:1D:51:6A:1B:29:7A:79:C7:C2:0E:C2:B7:63:C1:C2:9A | xxd -r -p | openssl base64
-> kHdXPh1RahspennHwg7Ct2PBwpo=