• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WG: WEP-Key in the preferences.plist FILE ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WG: WEP-Key in the preferences.plist FILE ??


  • Subject: WG: WEP-Key in the preferences.plist FILE ??
  • From: Halit Özüberk (ProDyne) <email@hidden>
  • Date: Thu, 30 Jun 2005 16:53:44 +0200
  • Thread-topic: WEP-Key in the preferences.plist FILE ??

Title: Nachricht
//here is my WEPKEY Test - Code
 
 void*   keys[1]; 
 void*   values[1]; 
 char   mConst_m128WEPKey[50];
 

 CWepKeyArray myWep;
 myWep.setPassphrase("MYWEPKEYPASS");
 memset(mConst_m128WEPKey,0,sizeof(mConst_m128WEPKey));
 myWep.stringForStrongKey(mConst_m128WEPKey);
 
 CFDataRef MyWepData;
 MyWepData = CFDataCreate(NULL, (const unsigned char*)mConst_m128WEPKey,26/* strlen(mConst_m128WEPKey) */);
 
 keys[0] = (void*) CFSTR("WEPKEY");
 values[0]  = (void*) MyWepData;
 
 
 CFDictionaryRef theDict = CFDictionaryCreate(kCFAllocatorDefault,(const void**)keys,(const void**)values,1 , &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
 CFMutableDictionaryRef theMutableDict = CFDictionaryCreateMutableCopy(NULL, CFDictionaryGetCount(theDict) , theDict);
 
 
 CFPreferencesSetValue(CFSTR("MyWEPKEY"),theMutableDict, CFSTR("com.apple.MyWEPKEYTest"),kCFPreferencesCurrentUser,kCFPreferencesAnyHost);
 CFPreferencesSynchronize(CFSTR("com.apple.MyWEPKEYTest") , kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
 
 if(MyWepData)
  CFRelease(MyWepData);
 
 if(theMutableDict)
  CFRelease(theMutableDict);
 if(theDict)
  CFRelease(theDict);
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Result:
mConst_m128WEPKey = "fed04a20e75a89ad3c58987fd6";
 
in the com.apple.MyWEPKEYTest File:
WEPKEY  Data  <39616163 64633230 33626464 32336534 66306436 64376166 3939> 
 
 
If I give this WEPKEY ("ed04a20e75a89ad3c58987fd6") over Systempreferences.
 
in the preferences.plist File:
AuthPassword   Data  <abfdcec1 0566abab ce900563 aba9ce94 0567abac ce910563 aba3ce9d 0563abff ce970561 abaece9c 053baba3 ce930564 abffce92 >
 
????????????????
 
 
-----Ursprüngliche Nachricht-----
Von: Halit Özüberk (ProDyne)
Gesendet: Donnerstag, 30. Juni 2005 14:15
An: 'Quinn'
Betreff: WEP-Key in the preferences.plist FILE ??

I program a tool and this tool furnishes a network connection.
 
But I have problem with the WEPKey...
If I want to store a WEPKEY in the network connection for an Airport, it is stored always wrong.
 
I have looked with the preferences.plist file. There the WEPKEY as Data are stored.
 
If the WEPKEY are stored encrypted there...
 
If yes,
how they are encoded then and are stored there...
 
I do not make headway at all...
 
THANKS
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: e IP address of the machines where my application copy is running
  • Previous by thread: WG: WEP-Key in the preferences.plist FILE ??
  • Index(es):
    • Date
    • Thread