File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ jobs:
225
225
id-token : write
226
226
pull-requests : write
227
227
steps :
228
- # ref.: https://github.com/sigstore/cosign-installer, v2.2.0
228
+ # ref.: https://github.com/sigstore/cosign-installer, v3.0.1
229
229
- name : Install cosign
230
230
uses : sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65
231
231
with :
@@ -298,7 +298,7 @@ jobs:
298
298
COSIGN_PASSWORD : ${{ secrets.COSIGN_PASSWORD }}
299
299
run : |
300
300
echo "$KEY" > ../cosign.key
301
- for FILE in *; do FILE_NAME=$(basename $FILE); cosign sign-blob --key=../cosign.key --output-signature=./${FILE_NAME}.sig ./$FILE_NAME; done
301
+ for FILE in *; do FILE_NAME=$(basename $FILE); cosign sign-blob --key=../cosign.key --output-signature=./${FILE_NAME}.sig ./$FILE_NAME --yes ; done
302
302
rm -fv ../cosign.key
303
303
# ref: https://github.com/softprops/action-gh-release, v0.1.14
304
304
# Release on merge only (push action) - this should run only once
Original file line number Diff line number Diff line change 27
27
# download desired files and the corresponding .sig file from: https://github.com/KiraCore/tools/releases
28
28
29
29
# verify signature of downloaded files
30
+ # NOTE: You might need insecure-ignore-tlog and/or insecure-ignore-sct if you verify old signatures from before v2.0.0
30
31
cosign verify-blob --key=./cosign.pub --signature=./< file> .sig ./< file> --insecure-ignore-tlog --insecure-ignore-sct
31
32
```
32
33
@@ -50,10 +51,10 @@ A simple and secure bip39 words generator that is able to mix computer and human
50
51
51
52
``` bash
52
53
# once BU is installed, you can easily and securely install all tools for a relevant architecture and platform
53
- # one line install
54
+ # one line install with verification of IPFS CID referencing a public key used to sign the release
54
55
TOOLS_VERSION=" v0.3.36" && TOOL_NAME=" bip39gen" && cd /tmp && \
55
56
bu safeWget ./${TOOL_NAME} .deb " https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION /${TOOL_NAME} -$( getPlatform) -$( getArch) .deb" \
56
- " $KIRA_COSIGN_PUB " && rm -rfv ./$TOOL_NAME && dpkg-deb -x ./${TOOL_NAME} .deb ./$TOOL_NAME && \
57
+ " QmeqFDLGfwoWgCy2ZEFXerVC5XW8c5xgRyhK5bLArBr2ue " && rm -rfv ./$TOOL_NAME && dpkg-deb -x ./${TOOL_NAME} .deb ./$TOOL_NAME && \
57
58
cp -fv ./$TOOL_NAME /bin/$TOOL_NAME /usr/local/bin/$TOOL_NAME && chmod +x " /usr/local/bin/$TOOL_NAME " && \
58
59
rm -rfv ./$TOOL_NAME ./${TOOL_NAME} .deb
59
60
You can’t perform that action at this time.
0 commit comments