xref: /freebsd/crypto/heimdal/kdc/kstash.8 (revision f0adf7f5cdd241db2f2c817683191a6ef64a4e95)
1.\" $Id: kstash.8,v 1.7 2002/08/20 16:37:14 joda Exp $
2.\"
3.Dd September  1, 2000
4.Dt KSTASH 8
5.Os HEIMDAL
6.Sh NAME
7.Nm kstash
8.Nd "store the KDC master password in a file"
9.Sh SYNOPSIS
10.Nm
11.Oo Fl e Ar string \*(Ba Xo
12.Fl -enctype= Ns Ar string
13.Xc
14.Oc
15.Oo Fl k Ar file \*(Ba Xo
16.Fl -key-file= Ns Ar file
17.Xc
18.Oc
19.Op Fl -convert-file
20.Op Fl -master-key-fd= Ns Ar fd
21.Op Fl h | Fl -help
22.Op Fl -version
23.Sh DESCRIPTION
24.Nm
25reads the Kerberos master key and stores it in a file that will be
26used by the KDC.
27.Pp
28Supported options:
29.Bl -tag -width Ds
30.It Xo
31.Fl e Ar string ,
32.Fl -enctype= Ns Ar string
33.Xc
34the encryption type to use, defaults to DES3-CBC-SHA1
35.It Xo
36.Fl k Ar file ,
37.Fl -key-file= Ns Ar file
38.Xc
39the name of the master key file
40.It Xo
41.Fl -convert-file
42.Xc
43don't ask for a new master key, just read an old master key file, and
44write it back in the new keyfile format
45.It Xo
46.Fl -master-key-fd= Ns Ar fd
47.Xc
48filedescriptor to read passphrase from, if not specified the
49passphrase will be read from the terminal
50.El
51.\".Sh ENVIRONMENT
52.\".Sh FILES
53.\".Sh EXAMPLES
54.\".Sh DIAGNOSTICS
55.Sh SEE ALSO
56.Xr kdc 8
57.\".Sh STANDARDS
58.\".Sh HISTORY
59.\".Sh AUTHORS
60.\".Sh BUGS
61