Re: Newbie : openssh and RC4

From: Nico Kadel-Garcia (nkadel_at_verizon.net)
Date: 08/29/03


Date: Fri, 29 Aug 2003 12:13:01 GMT

Richard E. Silverman wrote:

>>>>>>"NKG" == Nico Kadel-Garcia <nkadel@verizon.net> writes:
>
>
> NKG> ??? You can compile OpenSSH without the SSL libraries, I believe,
>
> I assume you mean "OpenSSL" here, rather than "SSL" (since OpenSSH does
> not actually use the SSL protocol) -- and I know of no such option;
> OpenSSH takes all its crypto primitives from OpenSSL. It wouldn't do much
> without it.

Well, yes.

> NKG> but considering that OpenSSH itself uses 1024 bit keys, I don't
> NKG> think you come out ahead.....
>
> I don't know what you mean by "OpenSSH itself" -- presumably, some build
> of OpenSSH without OpenSSL, which I don't think exists. In any event,
> this is comparing apples and oranges, Nico. 1024 and similar bit lengths
> are used by public-key algorithms for authentication and key agreement,
> which are not generally restricted by crypto-as-munitions laws. In
> talking about RC4 and 128-bit keys, the OP is referring to restrictions on
> actual (symmetric) encryption algorithms.

I'm referring to the "-b" option of "ssh-keygen", which says:

      -b bits
              Specifies the number of bits in the key to create.
Minimum is 512 bits. Generally 1024 bits is considered sufficient, and
key sizes above that no longer improve security but make things slower.
  The default is 1024 bits.

The crypto regulations are *weird*, and need not make computational
sense. With the former limits of "80 bits" for using SSL keys overseas,
I was always surprused that PGP and OpenSSH using far longer key lengths
didn't get in more grief. I'm aware of several groups that used both
128-bit SSL and SSH worldwide, including France when their crypto
regulations became insane, and basically prayed a lot not to be noticed
using them.



Relevant Pages

  • Re: aes-128-CBC
    ... One common SSH implementation (OpenSSH) happens to use crypto functions ... in the crypto library of a common SSL implementation. ...
    (comp.security.ssh)
  • Re: SSL version used ?
    ... This version of SSL seems to be able to use SSL v3 ... SSL and SSH have nothing to do with each other. ... OpenSSH uses cryptographic routines from a library called OpenSSL, ... reinforced by the software dependency and to a small extent reinforcced by ...
    (comp.security.ssh)
  • Crisis overted, but still some questions about OpenSSL
    ... SSL, but couldn't find any that my news server supported. ... but I installed OpenSSH 3.1p1 at that time. ... Instead of using the engine, ...
    (comp.security.ssh)
  • Re: Latest OpenSSH cant find latest OpenSSL
    ... I had the same problem with Solaris 8, OpenSSL 0.9.6d, and OpenSSH 3.4 ... It's probably just a bad version test in OpenSSH (but I'm not a software ... > configure and compile openssh 3.4 if my installed openssl ... > ssh when ssl version 0.9.6d is installed, ...
    (comp.security.ssh)
  • Re: Latest OpenSSH cant find latest OpenSSL
    ... I had the same problem with Solaris 8, OpenSSL 0.9.6d, and OpenSSH 3.4 ... It's probably just a bad version test in OpenSSH (but I'm not a software ... > configure and compile openssh 3.4 if my installed openssl ... > ssh when ssl version 0.9.6d is installed, ...
    (comp.security.ssh)