.github/workflows/dirty.yml #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
jobs: | |
openssl: | |
name: Recover With OpenSSL | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Generate key | |
env: | |
APP_KEY: ${{ secrets.APP_PRIVATE_KEY }} | |
run: | | |
echo -n "$APP_KEY" > ~/p.key | |
- name: Generate hash | |
run: | | |
echo -n "FOLLOWME" | openssl dgst -sha512 -sign ~/p.key | openssl base64 |