1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/crypto/heimdal/kdc/string2key.8

80 lines
1.2 KiB
Groff
Raw Normal View History

2001-06-21 02:12:07 +00:00
.\" $Id: string2key.8,v 1.4 2001/06/08 21:35:32 joda Exp $
2001-02-13 16:46:19 +00:00
.\"
.Dd March 4, 2000
.Dt STRING2KEY 8
.Os HEIMDAL
.Sh NAME
.Nm string2key
2001-05-08 14:57:13 +00:00
.Nd map a password into a key
2001-02-13 16:46:19 +00:00
.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
2001-06-21 02:12:07 +00:00
.Fl -cell= Ns Ar cell
2001-02-13 16:46:19 +00:00
.Xc
2001-06-21 02:12:07 +00:00
.Oc
2001-02-13 16:46:19 +00:00
.Oo Fl w Ar password \*(Ba Xo
2001-06-21 02:12:07 +00:00
.Fl -password= Ns Ar password
2001-02-13 16:46:19 +00:00
.Xc
2001-06-21 02:12:07 +00:00
.Oc
2001-02-13 16:46:19 +00:00
.Oo Fl p Ar principal \*(Ba Xo
2001-06-21 02:12:07 +00:00
.Fl -principal= Ns Ar principal
2001-02-13 16:46:19 +00:00
.Xc
2001-06-21 02:12:07 +00:00
.Oc
2001-02-13 16:46:19 +00:00
.Oo Fl k Ar string \*(Ba Xo
2001-06-21 02:12:07 +00:00
.Fl -keytype= Ns Ar string
2001-02-13 16:46:19 +00:00
.Xc
2001-06-21 02:12:07 +00:00
.Oc
2001-02-13 16:46:19 +00:00
.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