Skip to content

Commit a752a8c

Browse files
committed
[#88007] Install jq, try to decrypt key
1 parent e86822f commit a752a8c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,15 @@ jobs:
1515
- run: df -h .
1616
- run: df -h /mnt/aux
1717
- run: ls -alh /mnt/aux
18+
- run: |
19+
mkdir -p jq
20+
wget --progress=dot:mega https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64 -O jq/jq
21+
chmod +x jq/jq
22+
export PATH=$PWD/jq:$PATH
23+
echo "$KEYS"
24+
export HASH="$(echo lorem_ipsum.age | sha256sum | awk '{print $1}')"
25+
echo $HASH
26+
echo "$KEYS" | jq -r .\"$HASH\"
27+
echo "$KEYS" | jq -r .\"$HASH\" | base64 -d
1828
- run: _secret_custom_get_tools_v2
1929
- run: ls -lah .

0 commit comments

Comments
 (0)