Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 1999 05:43:29 -0700
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        walton@nordicrecords.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Whither makefiles for src/crypto/telnet/* ?
Message-ID:  <37B56471.E6227C20@quack.kfu.com>
References:  <19990814064443.21756.qmail@modgud.nordicrecords.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms4EBAE83A2FE6D2BD95F4A9A7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dave Walton wrote:
> 
> If you really want to work on an encrypted telnet, check out The
> Stanford SRP Authentication Project (http://srp.stanford.edu/srp/).
> I'd love to see SRP integrated into the FreeBSD telnet/telnetd.

Again, the problem is that there is administrative overhead - a separate
password database is required. It is certainly _also_ a candidate to be
included (they can all live side by side), but it does not replace the
need that SRA fills.

SPK requires a separate database because the server needs to know what
the password actually is, not just that the one that was typed is
correct. Unix passwords are not suitable because you can't turn
hamburger back into steak by running the grinder backwards. :-)

When both sides of a conversation have a shared secret, you can assure
mutual authentication in a way that is not possible with straight
Diffie-Hellman. But Unix passwords can't be considered a shared secret
because the server doesn't actually know what the password is. It merely
knows when an attempt is correct.

A workaround for this is to supply the password salt to the client early
in an authentication protocol, then treat the encrypted password as
a shared secret. That works, except that more and more unixes are
starting
to use non-portable crypt() procedures. The client has to have the same
crypt() as the server in order for the authentication to succeed.
Users with $x salts would not be able to log in from non-FreeBSD
machines
unless our crypt() was compiled into their telnet.
--------------ms4EBAE83A2FE6D2BD95F4A9A7
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIIYQYJKoZIhvcNAQcCoIIIUjCCCE4CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
Bg0wggLMMIICNaADAgECAgMBD9UwDQYJKoZIh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uIENhcGUxFDASBgNVBAcTC0R1cmJh
bnZpbGxlMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEpMCcGA1UECxMgVGhhd3RlIFBG
IFJTQSBJSyAxOTk4LjkuMTYgMTc6NTUxNjA0BgNVBAMTLVRoYXd0ZSBQZXJzb25hbCBGcmVl
bWFpbCBSU0EgSXNzdWVyIDE5OTguOS4xNgIDAQ/VMAkGBSsOAwIaBQCggbEwGAYJKoZIhvcN
AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNOTkwODE0MTI0MzMzWjAjBgkqhkiG
9w0BCQQxFgQUUzj5kpToOBaqzw0U3xsVkEXvxq8wUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG
9w0DBzAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcNAwICAUAwDQYIKoZIhvcN
AwICASgwDQYJKoZIhvcNAQEBBQAEgYAFIptSSP1Hk0Xo+tesF5SJgvnW02s49eCbobmqqemW
OrZm+vWKE55/80hAdpcWk9hW5ZQWUbD3sPRoebw624Jmd61F2VwczgsF2Pg43MTlUway+SDj
ktHkYouUwP9uckmBiGKlg83HR+amkCuyvHjIrZ3OAwR5JY2aOCcWINDJKw==
--------------ms4EBAE83A2FE6D2BD95F4A9A7--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B56471.E6227C20>