version 1.23, 2003/08/08 10:13:33 |
version 1.24, 2004/06/04 18:18:20 |
|
|
.Fl rmd160 |
.Fl rmd160 |
.Oc |
.Oc |
.Op Fl n Ar count |
.Op Fl n Ar count |
.Op Fl p Ar passwd |
.Op Fl p Ar passphrase |
<sequence#>[/] key |
<sequence#>[/] key |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm S/Key |
.Nm S/Key |
|
|
.Nm S/Key |
.Nm S/Key |
is RFC 2289 compliant. |
is RFC 2289 compliant. |
.Pp |
.Pp |
|
Before using |
|
.Nm skey |
|
the system needs to be initialized using |
|
.Xr skeyinit 1 ; |
|
this will establish a secret passphrase. |
|
After that, one-time passwords can be generated using |
|
.Nm skey , |
|
which will prompt for the secret passphrase. |
|
After a one-time password has been used to log in, it can no longer be used. |
|
.Pp |
When |
When |
.Nm skey |
.Nm skey |
is invoked as |
is invoked as |
|
|
.Ar method |
.Ar method |
is currently one of md4, md5, sha1, or rmd160. |
is currently one of md4, md5, sha1, or rmd160. |
.Pp |
.Pp |
If you misspell your password while running |
If you misspell your secret passphrase while running |
.Nm skey , |
.Nm skey , |
you will get a list of passwords |
you will get a list of one-time passwords |
that will not work, and no indication of the problem. |
that will not work, and no indication of the problem. |
.Pp |
.Pp |
Password sequence numbers count backwards. |
Password sequence numbers count backwards. |
|
|
.Ar count |
.Ar count |
one-time passwords. |
one-time passwords. |
The default is to print one. |
The default is to print one. |
.It Fl p Ar password |
.It Fl p Ar passphrase |
Uses |
Uses |
.Ar password |
.Ar passphrase |
as the secret password. |
as the secret passphrase. |
Use of this option is discouraged as |
Use of this option is discouraged as |
your secret password could be visible in a process listing. |
your secret passphrase could be visible in a process listing. |
.It Fl x |
.It Fl x |
Causes output to be in hexadecimal instead of ASCII. |
Causes output to be in hexadecimal instead of ASCII. |
.It Fl md4 |
.It Fl md4 |
|
|
.sp 0 |
.sp 0 |
% skey 99 th91334 |
% skey 99 th91334 |
.sp 0 |
.sp 0 |
Enter secret password: <your secret password is entered here> |
Enter secret passphrase: <your secret passphrase is entered here> |
.sp 0 |
.sp 0 |
OMEN US HORN OMIT BACK AHOY |
OMEN US HORN OMIT BACK AHOY |
.sp 0 |
.sp 0 |