=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gzsig/Attic/gzsig.1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/gzsig/Attic/gzsig.1 2005/05/29 08:54:13 1.4 +++ src/usr.bin/gzsig/Attic/gzsig.1 2005/05/31 23:02:29 1.5 @@ -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 .\" 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 @@ .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 @@ .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 ,