Skip to content

Commit 0368a34

Browse files
committed
docs: Fix errors in validation instructions
1 parent d7ed40b commit 0368a34

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ For example, tests see files inside the [tests directory](./tests).
8686
8787
# Verify authorship
8888
printf 'untrusted comment: unittest release key\nRWSjEUoB1VL59SwTiImjz+RkrG6rA0w9+j5VsG2GZIPRwpGlE+9CjA6C\n' >unittest-release_key.pub
89-
signify -V -e -p unittest-release_key.pub -x unittest.sha256sum.sig -m '/dev/null'
89+
signify -V -e -p unittest-release_key.pub -x unittest.sha256sum.sig -m /dev/null
9090
9191
# Verify timestamp
9292
curl -sSLO 'https://www.certum.pl/CTNCA.pem'
93+
openssl ts -verify -in unittest.sha256sum.sig.tsr -data unittest.sha256sum.sig -CAfile CTNCA.pem 2>/dev/null
9394
openssl ts -reply -text -in unittest.sha256sum.sig.tsr 2>/dev/null | grep -e 'Time stamp' -e 'TSA'
9495
```
9596

@@ -141,12 +142,12 @@ VERSION=25.02
141142
# Download and build release
142143
git clone --depth 1 --branch "v$VERSION" 'https://github.com/macie/unittest.sh.git'
143144
cd unittest.sh
144-
make dist
145+
make build
145146
146147
# Validate build against remote hash
147148
cd ./dist
148149
curl -sSL -o 'remote.sha256sum.sig' "https://github.com/macie/unittest.sh/releases/download/v${VERSION}/unittest.sha256sum.sig"
149-
tail -n 1 unittest.sha256sum.sig | sha256sum --check
150+
tail -n 1 remote.sha256sum.sig | sha256sum --check
150151
```
151152

152153
## Alternatives

0 commit comments

Comments
 (0)