> [*] Nick Christenson, Jet Propulsion Laboratory writes:
> ]]
> ]] Has anyone been able to get rsa telnet/ftp working WITHOUT NIS?
> ]]
> ]] I'm on a sun 4.1.3 system, and we don't have NIS (no secret keys :-()
> ] Yes, the Encrypted Telnet I mention in an earlier post uses
> ] Diffie Hellman without the use of NIS or any RPC service by
> ] using the Public Key cryptography routines found in the RSAREF
> ] library.
>SRA telnet/ftp does NOT require NIS or RPC service. It uses
>Diffie-Hellman exponential key exchange to establish a DES key between
>the client and the server. SRA uses a bit of Sun RPC source code to do
>the Diffie-Hellman.
My apologies if I implied that SRA had requirements it does not.
Based on the SRA paper from UNIX Security IV (I believe), it does
not require RPC to be running, but does require that a library containing
the Diffie-Hellman code be available on the machine SRA is compiled
on.
Quote:>I haven't seen Nick's code, but I believe Nick's is similar to SRA's
>telnet, differences being:
>(i) Current implementation of SRA uses a 192bit modulus, which is too
>small. ETN uses a >512 bit modulus. One could change the SRA code to
>use a larger modulus and come up with SRA2.
ETN uses 512 bit modulus right now, with expansion up to 1024 an
easy task. Quite honestly, I don't see the point of going > 512,
as breaking the DES in the session stream is probably easier
already. If ETN is expanded to use triple-DES or triple-IDEA or
something, that should be reconsidered.
To change the SRA DH key size, I believe you would need to rebuild
the RPC library. Again, please correct me if I'm wrong, somebody.
Quote:>(ii) ETN uses RSAREF code to do the Diffie-Hellman. SRA uses Sun RPC
>code.
Correct, although Secure RPC is available on many systems, not just
Suns. Of course there are also many systems that don't have it
available.
Quote:>(iii) SRA telnet as distributed by TAMU doesn't do data stream
>encryption. A 10-line patch will get that done.
I believe, again, I may very well be mistaken, that the 10 line
patch is to the Kerberized Telnet code to make it do SRA.
Quote:>(Any other differences, Nick?)
Yes, one big one. ETN is *not* RFC 1416 complient. I don't see
this as a major bug, as ETN is not supposed to interact with
existing Telnet daemons at all, but to be an extra service, that is
secure and merely *like* telnet. I'd be glad to debate this point
with folks, and fully understand why someone would have a dissenting
opinion. I am still debating whether or not I might want to have etn
become RFC 1416 complient in version 2.X some day.
ETN negotiates the DES encryption keys (using DH) without recourse to
the standard telnet IAC will/wont do/dont mechanisms.
Quote:>-----------------
>My conclusions so far: SRA, ETN and code/spec mentioned by Jeff Hayward
>all uses Diffie-Hellman to establish a common key. The main difference
>being the modulus used --- SRA: small, ETN: medium/large,
>Hayward:variable.
>Since they all use Diffie-Hellman, I continue my plea for ONE
>distribution that uses Diffie-Hellman. This would avoid duplication of
>code and incompatibilities between different DH distributions.
IMHO, too few systems have Secure RPC to make that the only "standard".
For example, my HP-UX 9.0X boxes don't have it, and many of them
will not be going to HP-UX 10.0X (which is supposed to have it)
for many years. It will not be a solution for me. Does anyone know
if Linux has Secure RPC? I believe it is available on the free BSD
systems.
Quote:>About the patented Diffie-Hellman: would it be OK if US sites use
>the RSAREF implementation, while non-US sites use another way like the
>one in Sun RPC. Comments?
Non-US sites can use their own libraries without restriction. They
do not have the Public Key patent problems we do in the US. In the
US, we have to use either Secure RPC, RSAREF or pay for it. Of course,
it is illegal for folks in the US and Canada to share code that *calls*
encryption routines with our friends in other countries, so US
contributions to international standardization would have to be
based on algorithm description rather than exchange of source code,
Stupid, yes, but we have no choice.
--
Nick Christenson
<---- Header information -------------------------------------------->
Xref: actrix.gen.nz comp.security.unix:11891
Path: actrix.gen.nz!comp.vuw.ac.nz!waikato!ames!elroy.jpl.nasa.gov
!netline-fddi.jpl.nasa.gov!phoebe.jpl.nasa.gov!npc
Laboratory)
Newsgroups: comp.security.unix
Subject: Re: ANNOUNCEMENT: Encrypted Telnet
Date: 20 Feb 1995 17:31:02 GMT
Organization: Jet Propulsion Laboratory, Pasadena, CA
Lines: 101
NNTP-Posting-Host: minotaur.jpl.nasa.gov
Cc: