pkgsrc/security/libdes/patches/patch-af
rh cae86cc092 Initial import of libdes-4.04b, a small DES (Data Encryption Standard) lib
and standalone program.  Closes PR 10532 by John Refling
<refling@comet.lbl.gov>
2000-11-23 13:16:10 +00:00

75 lines
1.9 KiB
Text

$NetBSD: patch-af,v 1.1.1.1 2000/11/23 13:16:10 rh Exp $
--- ./des.man.orig Thu Dec 4 05:35:37 1997
+++ ./des.man Fri Mar 31 04:21:16 2000
@@ -1,8 +1,8 @@
-.TH DES 1
+.TH LIBDES 1
.SH NAME
-des - encrypt or decrypt data using Data Encryption Standard
+libdes - encrypt or decrypt data using Data Encryption Standard
.SH SYNOPSIS
-.B des
+.B libdes
(
.B \-e
|
@@ -28,7 +28,7 @@
.I output-file
] ]
.SH DESCRIPTION
-.B des
+.B libdes
encrypts and decrypts data using the
Data Encryption Standard algorithm.
One of
@@ -45,7 +45,7 @@
.I des_cbc_cksum.
.LP
Two standard encryption modes are supported by the
-.B des
+.B libdes
program, Cipher Block Chaining (the default) and Electronic Code Book
(specified with
.B \-b
@@ -57,11 +57,11 @@
.I key'
option is given.
If the key is an argument to the
-.B des
+.B libdes
command, it is potentially visible to users executing
.BR ps (1)
or a derivative. To minimise this possibility,
-.B des
+.B libdes
takes care to destroy the key argument immediately upon entry.
If your shell keeps a history file be careful to make sure it is not
world readable.
@@ -76,7 +76,7 @@
options are used, the key conversion procedure will not be compatible
with the sunOS des(1) version but will use all the user supplied
character to generate the des key.
-.B des
+.B libdes
command reads from standard input unless
.I input-file
is specified and writes to standard output unless
@@ -156,7 +156,7 @@
will be embedded in the header.
.SH SEE ALSO
.B ps (1)
-.B des_crypt(3)
+.B libdes_crypt(3)
.SH BUGS
.LP
The problem with using the
@@ -173,7 +173,7 @@
)
uses DES to help generate the key.
.LP
-Be carefully when using the -u option. Doing des -ud <filename> will
+Be carefully when using the -u option. Doing libdes -ud <filename> will
not decrypt filename (the -u option will gobble the d option).
.LP
The VMS operating system operates in a world where files are always a