Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg-repo.8: Add missing newline before CERT and don't suggest signing SHA256(pkg)\n, but SHA256(pkg)
Bryan Drewery committed 12 years ago
commit e05fed60c55e85f59347d4d82fb5f8b662b0c15a
parent 296de5e
1 file changed +3 -2
modified pkg/pkg-repo.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd October 22, 2013
+
.Dd October 23, 2013
.Dt PKG-REPO 8
.Os
.Sh NAME
@@ -198,7 +198,8 @@ to a path containing a file with the SHA256 of the public key:
read -t 2 sum
[ -z "$sum" ] && exit 1
echo SIGNATURE
-
echo $sum | /usr/bin/openssl dgst -sign repo.key -sha256 -binary
+
echo -n $sum | /usr/bin/openssl dgst -sign repo.key -sha256 -binary
+
echo
echo CERT
cat repo.pub
echo END