Mathew Inwood | 96c419f | 2018-12-04 11:52:42 +0000 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Script to sign data with the debug keys. Outputs base64 for embedding into | ||||
3 | # APK metadata. | ||||
4 | |||||
Mathew Inwood | b55d7a0a | 2019-01-23 17:52:39 +0000 | [diff] [blame] | 5 | openssl dgst -sha256 -sign $(dirname $0)/debug_key.pem <(echo -n "$1" | base64 -d) | base64 -w 0 |
Mathew Inwood | 96c419f | 2018-12-04 11:52:42 +0000 | [diff] [blame] | 6 | echo |