You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
209 B

#!/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