rsakeys

Name

rsakeys — generates a RSA keypair
rsakeys [-b] [-m <bits>] [-o [<file>]] [-p [<file>]] 
        [-e <3 | 65537>]
rsakeys [-bc] [-m <bits>] [-i [<file>]] [-p [<file>]]
rsakeys -v

DESCRIPTION

The rsakeys program generates a RSA keypair for use with the scl+sssl library and its derivatives.

OPTIONS

rsakeys recognizes these options:

-m, --modulus <bits>

Specify an alternative modulus length instead of 768 which is the default.

-e, --exponent <3 | 65537>

Specify value for the public exponent. The default is 65537.

-o, --out <file>

Specify the output file for the newly created private key here. If this option is not supplied the private key will be sent to stdout.

-p, --public <file>

Specify the output file for the newly created public key here. If this option is not supplied the public key will be sent to stdout.

-b, --binary

If this flag is specified all keys will be read and written in binary format. This format is more compact but less portable. Note that the default format for the sssl library is uuencoded and not binary.

-c, --check

Some parameters in the secret key are computable from others, but are saved for better performance. Other values have to meet specified criteria as prime, congruence, etc. When the -c option is supplied, the key file specified with the -i, --input option will be checked for consistency.

-i, --input <file>

Read the file supplied as a parameter of the option insted of generating it. This is useful if you want to check an existing key or if you want to extract the public key from a secret one. If the -i, --input option is given with missing file argument, the key will be expected on stdin.

-v, --version

Print version and exit.

FILES

/usr[/local]/etc/passwdd.key

Secret RSA key in uuencoded format for the passwdd daemon.

/var/spool/passwdc/*.pub

Public RSA key in uuencoded format for the passwdd utilities.

BUGS

There should be some. If you found one or more of them send a mail and I will do my best to fix them.

AUTHOR

SEE ALSO

passwdd(8), passwdd.conf(5), passwdc(1), passwdc.conf(5).