summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/sign/pkg_sign.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/sign/pkg_sign.1')
-rw-r--r--usr.sbin/pkg_install/sign/pkg_sign.113
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/pkg_install/sign/pkg_sign.1 b/usr.sbin/pkg_install/sign/pkg_sign.1
index 4b021c92956..99b3c98d3fe 100644
--- a/usr.sbin/pkg_install/sign/pkg_sign.1
+++ b/usr.sbin/pkg_install/sign/pkg_sign.1
@@ -1,4 +1,5 @@
-.\" $OpenBSD: pkg_sign.1,v 1.3 1999/10/05 22:30:49 espie Exp $
+.\" $OpenBSD: pkg_sign.1,v 1.4 2000/03/19 17:57:11 aaron Exp $
+.\"
.\" Copyright (c) 1999 Marc Espie.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -51,7 +52,7 @@ embeds a cryptographic signature within a gzip file
can be
.Li pgp
(default) or
-.Li sha1 .
+.Li sha1 .
If
.Ar type
is
@@ -68,9 +69,11 @@ which will be recorded as the name of the package, and printed as the
SHA1 checksum.
.Pp
.Nm pkg_check
-checks that cryptographic signature. It currently disregards
+checks that cryptographic signature.
+It currently disregards
.Ar type
-and checks only the topmost signature. For sha1, it checksums the file
+and checks only the topmost signature.
+For sha1, it checksums the file
and verifies that the result matches the list of checksums recorded in
.Pa /var/db/pkg/SHA1 .
.Pp
@@ -106,7 +109,7 @@ eight bytes long).
and
.Nm pkg_check
return with an exit code > 0 if anything went wrong for any
-.Ar file .
+.Ar file .
For
.Nm pkg_check ,
this usually indicates that the package is not signed, or that the