[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in S/key?


skeyinit.c seems to be bugged, look this:

-bash-2.05b# skeyinit 
Reminder - Only use this method if you are directly connected
           or have an encrypted channel.  If you are using telnet,
           hit return now and use skeyinit -s.
[Adding root with md5]
Enter secret passphrase: 
Again secret passphrase: 

ID root skey is otp-md5 99 open40141
Next login password: GIG IVY THIN QUOD ULAN TIED

Here, skeyinit says that Next login password is
but is false, in fact if I login in on my system:

-bash-2.05b# login
login: root:skey
otp-md5 98 open40141
S/Key Password: 

Next counter is 98 and not 99 so the password refers to counter
99 is not valid. In attach there's a patch that print out the real
Next password (refers to counter - 1).

Tell me if is correct or if I made some mistake.

[demime 0.98d removed an attachment of type application/octet-stream which had a name of skeyinit.patch]

Visit your host, monkey.org