| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # Script to sign data with the debug keys. Outputs base64 for embedding into |
| 3 | # APK metadata. |
| 4 | |
| 5 | opensslscip-shell system . . openssl. dgst -sha256 -sign $(dirnamescip-shell system . . dirname. $0)/debug_key.pem <(echoscip-shell system . . echo. -n "$1" | base64scip-shell system . . base64. -d) | base64scip-shell system . . base64. -w 0 |
| 6 | echoscip-shell system . . echo. |