Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
4d1113d801f7b08311f68df7e04a1694188c5fd3
/
.
/
tools
/
signedconfig
/
debug_sign.sh
blob: 28e54289f8f8c72d458bae64c7dd4f0b53e55ff3 [
file
] [
log
] [
blame
]
#!/bin/bash
# Script to sign data with the debug keys. Outputs base64 for embedding into
# APK metadata.
openssl dgst
-
sha256
-
sign $
(
dirname $0
)/
debug_key
.
pem $1
|
base64
-
w
0
echo