Skip to content

Commit 1e85e40

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)