From 8eaf7a69905baf2e8ba311f2a0e87b19dcbf6e4b Mon Sep 17 00:00:00 2001 From: lteo Date: Fri, 17 Jan 2014 03:38:12 +0000 Subject: [PATCH] Add a new example showing how to verify bsd.rd with signify and the new sha256 -C option. suggested by deraadt@ help/OK jmc@ tedu@ --- usr.bin/signify/signify.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/usr.bin/signify/signify.1 b/usr.bin/signify/signify.1 index 396a090ab8b..38ed1ffc289 100644 --- a/usr.bin/signify/signify.1 +++ b/usr.bin/signify/signify.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signify.1,v 1.21 2014/01/14 17:49:24 jmc Exp $ +.\" $OpenBSD: signify.1,v 1.22 2014/01/17 03:38:12 lteo Exp $ .\" .\"Copyright (c) 2013 Marc Espie .\"Copyright (c) 2013 Ted Unangst @@ -14,7 +14,7 @@ .\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: January 14 2014 $ +.Dd $Mdocdate: January 17 2014 $ .Dt SIGNIFY 1 .Os .Sh NAME @@ -138,6 +138,12 @@ and a full set of release files: $ signify -V -e -p /etc/signify/55base.pub -x SHA256.sig -m - | \e sha256 -c - .Ed +.Pp +Verify a bsd.rd before an upgrade: +.Bd -literal -offset indent -compact +$ signify -V -e -p /etc/signify/55base.pub -x SHA256.sig -m - | \e + sha256 -C - bsd.rd +.Ed .Sh SEE ALSO .Xr fw_update 1 , .Xr pkg_add 1 , -- 2.20.1