blob: 3a2814a62aff21e6cae562ea3a92cd11831939c3 [file] [log] [blame]
Mathew Inwood96c419f2018-12-04 11:52:42 +00001#!/bin/bash
2# Script to sign data with the debug keys. Outputs base64 for embedding into
3# APK metadata.
4
Mathew Inwoodb55d7a0a2019-01-23 17:52:39 +00005openssl dgst -sha256 -sign $(dirname $0)/debug_key.pem <(echo -n "$1" | base64 -d) | base64 -w 0
Mathew Inwood96c419f2018-12-04 11:52:42 +00006echo