1PSKGEN(8)                 BSD System Manager's Manual                PSKGEN(8)
2

NAME

4     pskgen — Pre-shared key generater and converter for IKE
5

SYNOPSIS

7     pskgen -r [-s length] [-o file] [-d]
8     pskgen -i file [-h] [-o file] [-d]
9     pskgen -e file [-o file] [-d]
10

DESCRIPTION

12     pskgen creates a pre-share key file for the iked of the Racoon2 system.
13     There are three modes.  The first is that it will create a randomized
14     key.  The second is that it will create the key from the input file.
15     Note that the Racoon2 only uses the first line of the input file that is
16     plain text format except the case when the -h option is not specified.
17     pskgen ignores the second line of the file specified and more than that.
18     The third is that it will convert the key file to the format of the -h
19     option.
20
21   Randomized key mode
22           -r     output random bytes.
23           -s     specify the byte length of the key.  the default is
24                  $default_keysize bytes.
25           -o     specify the output file.
26           -d     debug mode.  no harm to any file.
27
28   File specific mode
29           -i     specify the input file.  ‘-’ means the standard input.
30           -h     assumed that the input file is writted by the following syn‐
31                  tax: 0x leading one or two of hexadecimal number separated
32                  space characters.  For example:
33                        0x72 0x61 0x63 0x6f 0x6f 0x6e
34           -o     specify the output file.
35           -d     debug mode.  no harm to any file.
36
37   Export Mode
38           -e     export the key file.  the format is like the option -h
39                  defined.
40           -o     specify the output file.
41           -d     debug mode.  no harm to any file.
42

SEE ALSO

44     racoon2(7), racoon2.conf(5), iked(8)
45
46
47RACOON2                          Jul 14, 2005                          RACOON2
Impressum