Skip to content

Commit 5c7b519

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

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,21 @@ jobs:
1515
- run: df -h .
1616
- run: df -h /mnt/aux
1717
- run: ls -alh /mnt/aux
18-
- run: _secret_custom_get_tools_v2
18+
- run: |
19+
cat /etc/resolv.conf
20+
echo "nameserver 1.1.1.1" > /etc/resolv.conf
21+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
22+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
23+
dnf install -y wget
24+
wget --version
25+
mkdir -p jq
26+
wget --progress=dot:mega https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64 -O jq/jq
27+
chmod +x jq/jq
28+
export PATH=$PWD/jq:$PATH
29+
echo "$KEYS"
30+
export HASH="$(echo lorem_ipsum.age | sha256sum | awk '{print $1}')"
31+
echo $HASH
32+
echo "$KEYS" | jq -r .\"$HASH\"
33+
echo "$KEYS" | jq -r .\"$HASH\" | base64 -d
34+
_secret_custom_get_tools_v2
1935
- run: ls -lah .

0 commit comments

Comments
 (0)