summaryrefslogtreecommitdiff
path: root/usr.bin/gzsig
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-05-31 23:02:30 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-05-31 23:02:30 +0000
commitc23523cba56cda95b713d0fdb286d4db2b8a839d (patch)
treecc24e23f0489fcbfc32bfe4c09a9d5effab22bf9 /usr.bin/gzsig
parent34743620f64d6134d90c229b248a66c4f133a324 (diff)
standard EXAMPLES;
spacing;
Diffstat (limited to 'usr.bin/gzsig')
-rw-r--r--usr.bin/gzsig/gzsig.130
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/gzsig/gzsig.1 b/usr.bin/gzsig/gzsig.1
index 6bc37e82f55..d436adc4655 100644
--- a/usr.bin/gzsig/gzsig.1
+++ b/usr.bin/gzsig/gzsig.1
@@ -1,13 +1,13 @@
-.\" $OpenBSD: gzsig.1,v 1.4 2005/05/29 08:54:13 djm Exp $
-.\" $Id: gzsig.1,v 1.4 2005/05/29 08:54:13 djm Exp $
+.\" $OpenBSD: gzsig.1,v 1.5 2005/05/31 23:02:29 jmc Exp $
+.\" $Id: gzsig.1,v 1.5 2005/05/31 23:02:29 jmc Exp $
.\"
.\" Copyright (c) 2001 Dug Song <dugsong@arbor.net>
.\" Copyright (c) 2001 Arbor Networks, Inc.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
-.\"
+.\"
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
.\" 3. The names of the copyright holders may not be used to endorse or
.\" promote products derived from this software without specific
.\" prior written permission.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
@@ -27,7 +27,7 @@
.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
+.\"
.Dd July 6, 2001
.Dt GZSIG 1
.Sh NAME
@@ -52,7 +52,8 @@ compressed files using SSH identity keys or X509 certificates.
.Pp
The
.Ar file
-operands are processed in command-line order. If
+operands are processed in command-line order.
+If
.Ar file
is a single dash
.Pq Sq \&-
@@ -80,29 +81,28 @@ The
.Nm
utility exits 0 on success or >0 if an error occured.
.Sh EXAMPLES
-.Cm gzsign sign ~/.ssh/id_rsa file1 file2
-.Pp
-Sign
+Sign
.Ar file1
and
.Ar file2
with the SSH2 identity key in
-.Ar ~/.ssh/id_rsa .
+.Ar ~/.ssh/id_rsa :
.Pp
-.Cm gzsign sign ~/.ssh/id_rsa < file1 > file2
+.Dl $ gzsign sign ~/.ssh/id_rsa file1 file2
.Pp
Sign
.Ar file1
with the SSH2 identity key, saving the signed file in
-.Ar file2 .
+.Ar file2 :
.Pp
-.Cm gzsign verify /etc/ssl/server.crt < file1
+.Dl $ gzsign sign ~/.ssh/id_rsa < file1 > file2
.Pp
Verify the signature on
.Ar file1
using the SSL certificate in
-.Ar /etc/ssl/server.crt .
+.Ar /etc/ssl/server.crt :
.Pp
+.Dl $ gzsign verify /etc/ssl/server.crt < file1
.Sh SEE ALSO
.Xr gzip 1 ,
.Xr ssh-keygen 1 ,