Rev 2 | Blame | Compare with Previous | Last modification | View Log | RSS feed
.\" Hey, EMACS: -*- nroff -*-.\" First parameter, NAME, should be all caps.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection.\" other parameters are allowed: see man(7), man(1).TH LSH-KEYGEN 1 "Aug 21 2002" lsh-keygen "lsh manuals".\" Please adjust this date whenever revising the manpage..\".\" Some roff macros, for reference:.\" .nh disable hyphenation.\" .hy enable hyphenation.\" .ad l left justify.\" .ad b justify to both left and right margins.\" .nf disable filling.\" .fi enable filling.\" .br insert line break.\" .sp <n> insert n+1 empty lines.\" for manpage-specific macros, see man(7).SH NAMElsh-keygen \- generate a public/private key pair.SH SYNOPSIS.B lsh-keygen.RI [ options ].SH DESCRIPTIONThis manual page documents briefly the.B lsh-keygencommand.This manual page was written for the Debian distributionbecause the original program does not have a manual page.Instead, it has documentation in the GNU Info format; see below..PP.\" TeX users may be more comfortable with the \fB<whatever>\fP and.\" \fI<whatever>\fP escape sequences to invode bold face and italics,.\" respectively.\fBlsh-keygen\fP is a program that generates a public / private key pair in\fBSPKI(5)\fP format and writes it to stdout. Usually you will pipe thisoutput to \fBlsh-writekey(1)\fP to write it to disk..SH OPTIONSThis program follows the usual GNU command line syntax, with longoptions starting with two dashes (`-').A summary of options is included below.For a complete description, see the Info files..TP.B \-f, \-\-output\-format=\fIformat\fPThe output SPKI format to use. Valid values of \fIformat\fP are "transport","canonical", "advanced" and "international". The default format is "transport".See also \fBSPKI(5)\fP..TP.B \-l, \-\-nist\-level=\fIsecurity\-level\fPFor DSA keys, this is the NIST security level: level 0 uses 512-bit primes,level 8 uses 1024 bit primes, and the default is 8. For RSA keys, it's the bitlength of the modulus, and the default is 2048 bits..TP.B \-a, \-\-algorithm=\fIalgorithm\fPThe public / private key algorithm to use. This can be either "RSA" or "DSA".The default is to generate DSA keys..TP.B \-\-serverUse the server random seed file.TP.B \-\-debugPrint huge amounts of debug information..TP.B \-\-log\-file=\fIfile\fPAppend messages to \fIfile\fP..TP.B \-q, \-\-quietSuppress all warnings and diagnostic messages..TP.B \-\-tracePrint a detailed program trace..TP.B \-v, \-\-verbosePrint verbose diagnostic messages.TP.B \-?, \-\-helpShow summary of options..TP.B \-\-usageShow a short usage message..TP.B \-V, \-\-versionShow version of program..SH EXAMPLEA typical usage of lsh-keygen is:lsh-keygen -l 8 | lsh-writekeyWhich generates a public / private key pair and stores it using\fBlsh-writekey(1)\fP..SH BUGSlsh-writekey should use \fBrandom(4)\fP rather than a less strong source ofrandomness like \fBurandom(4)\fP where available..SH SEE ALSO.BR lsh-writekey (1),.BR lsh-make-seed (1),.BR lsh (1),.BR lshd (8),.BR DSA (5),.BR SPKI (5)..BRThe programs are documented fully by.IR "Lsh" ,available via the Info system..SH AUTHORThis manual page was written by Timshel Knoll <timshel@debian.org>,for the Debian GNU/Linux system (but may be used by others).