Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
7 lines
209 B
Bash
Executable File
7 lines
209 B
Bash
Executable File
#!/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 <(echo -n "$1" | base64 -d) | base64 -w 0
|
|
echo
|