kstash(8)

kstash8

Store the kdc master password in a file

Usage

kstash [-e string --enctype=string] [-k file --key-file=file] [--convert-file] [--random-key] [--master-key-fd=fd] [--random-key] [{-h | --help}] [--version]

Overview

kstash reads the Kerberos master key and stores it in a file that will be used by the KDC.

Supported options:

-e string, --enctype=string

the encryption type to use, defaults to DES3-CBC-SHA1.

-k file, --key-file=file

the name of the master key file.

--convert-file

don't ask for a new master key, just read an old master key file, and write it back in the new keyfile format.

--random-key

generate a random master key.

--master-key-fd=fd

filedescriptor to read passphrase from, if not specified the passphrase will be read from the terminal.

Files

/var/heimdal/m-key is the default keyfile if no other keyfile is specified. The format of a Heimdal master key is the same as a keytab, so ktutil list can be used to list the content of the file.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7–13

--convert-file since Debian 7 (Wheezy); --enctype since Debian 7 (Wheezy); --key-file since Debian 7 (Wheezy); --master-key-fd since Debian 7 (Wheezy); --random-key since Debian 7 (Wheezy); -e since Debian 7 (Wheezy); -k since Debian 7 (Wheezy).

From heimdal-kdc 7.8.git20221117.28daf24+dfsg-9+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.