Re: 40-Bit Keys



On Mon, 2004-11-01 at 21:27 +0100, j bootlab org wrote:
> so how does iwconfing eth2 key s:qwert work than? 
> that is 64/40 bit, and works in 99%.

Because its for Lucent/Agere cards only.

  /* Check the type of key */
  if(!strncmp(input, "s:", 2))
    {
      /* First case : as an ASCII string (Lucent/Agere cards) */
      keylen = strlen(input + 2);		/* skip "s:" */
      if(keylen > IW_ENCODING_TOKEN_MAX)
	keylen = IW_ENCODING_TOKEN_MAX;
      strncpy(key, input + 2, keylen);
    }

Other cards, like Prism don't use this scheme.  There is no even 75%
coverage for 40/64bit WEP passphrases.  We have to sort this out in the
UI and maybe have users make the choice.

Dan




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