Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg-repo.8: Avoid mangling binary signature data in example
Bryan Drewery committed 12 years ago
commit c36721f26f3711ca168568a35c26a66eecc0dc0e
parent ed31525
1 file changed +1 -2
modified pkg/pkg-repo.8
@@ -197,9 +197,8 @@ to a path containing a file with the SHA256 of the public key:
#!/bin/sh
read -t 2 sum
[ -z "$sum" ] && exit 1
-
sig=$(echo $sum | /usr/bin/openssl dgst -sign repo.key -sha256 -binary)
echo SIGNATURE
-
echo $sig
+
echo $sum | /usr/bin/openssl dgst -sign repo.key -sha256 -binary
echo CERT
cat repo.pub
echo END