diff --git a/kdc/Makefile.am b/kdc/Makefile.am index cc3d61c3a..cf45af21f 100644 --- a/kdc/Makefile.am +++ b/kdc/Makefile.am @@ -10,7 +10,7 @@ sbin_PROGRAMS = kstash libexec_PROGRAMS = hprop hpropd kdc -man_MANS = kdc.8 kstash.8 hprop.8 hpropd.8 +man_MANS = kdc.8 kstash.8 hprop.8 hpropd.8 string2key.8 hprop_SOURCES = hprop.c hprop-common.c hprop.h kadb.h hpropd_SOURCES = hpropd.c hprop-common.c hprop.h diff --git a/kdc/string2key.8 b/kdc/string2key.8 new file mode 100644 index 000000000..ab0a95170 --- /dev/null +++ b/kdc/string2key.8 @@ -0,0 +1,78 @@ +.\" $Id$ +.\" +.Dd March 4, 2000 +.Dt STRING2KEY 8 +.Os HEIMDAL +.Sh NAME +.Nm string2key +.Nd +map a password into a key +.Sh SYNOPSIS +.Nm +.Op Fl 5 | Fl -version5 +.Op Fl 4 | Fl -version4 +.Op Fl a | Fl -afs +.Oo Fl c Ar cell \*(Ba Xo +.Fl -cell= Ns Ar cell Oc +.Xc +.Oo Fl w Ar password \*(Ba Xo +.Fl -password= Ns Ar password Oc +.Xc +.Oo Fl p Ar principal \*(Ba Xo +.Fl -principal= Ns Ar principal Oc +.Xc +.Oo Fl k Ar string \*(Ba Xo +.Fl -keytype= Ns Ar string Oc +.Xc +.Op Fl -version +.Op Fl -help +.Ar password +.Sh DESCRIPTION +.Nm +performs the string-to-key function. +This is useful when you want to handle the raw key instead of the password. +Supported options: +.Bl -tag -width Ds +.It Xo +.Fl 5 Ns , +.Fl -version5 +.Xc +Output Kerberos v5 string-to-key +.It Xo +.Fl 4 Ns , +.Fl -version4 +.Xc +Output Kerberos v4 string-to-key +.It Xo +.Fl a Ns , +.Fl -afs +.Xc +Output AFS string-to-key +.It Xo +.Fl c Ar cell Ns , +.Fl -cell= Ns Ar cell +.Xc +AFS cell to use +.It Xo +.Fl w Ar password Ns , +.Fl -password= Ns Ar password +.Xc +Password to use +.It Xo +.Fl p Ar principal Ns , +.Fl -principal= Ns Ar principal +.Xc +Kerberos v5 principal to use +.It Xo +.Fl k Ar string Ns , +.Fl -keytype= Ns Ar string +.Xc +Keytype +.It Xo +.Fl -version +.Xc +print version +.It Xo +.Fl -help +.Xc +.El