Commit graph

1090 commits

Author SHA1 Message Date
Dan Williams 43ab72e508 2006-06-17 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-dict-helpers.[ch]
	  test/libnm-util/test-dbus-dict-helpers.c
		- Fixes for zero-length byte arrays
		- Replace return values of 0 with FALSE for clarity
		- Test zero-length byte arrays


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1842 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-18 00:38:34 +00:00
Dan Williams 2ea74fbb84 2006-06-17 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-dict-helpers.[ch]
	  test/libnm-util/test-dbus-dict-helpers.c
	  	- Add helpers for byte arrays
	  	- Rework bits of the testcase


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1841 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-17 23:35:13 +00:00
Dan Williams b606787351 2006-06-16 Dan Williams <dcbw@redhat.com>
* libnm-util/Makefile.am
	* libnm-util/dbus-dict-helpers.[ch]
		- Add some helpers to take the pain out of using dict types in
			dbus.

	* test/libnm-util/Makefile.am
	* test/libnm-util/test-dbus-dict-helpers.c
		- Test cases for the dict helper functions


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1834 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-16 16:36:57 +00:00
Robert Love ae2d3d7730 2006-06-15 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the set unless there
	  is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
	  if there is no key to pass.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1833 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-15 16:43:51 +00:00
Robert Love 61dae6e438 * libnm-util/cipher-wep-passphrase.c: Include config.h to get HAVE_GCRYPT
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1767 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 22:26:32 +00:00
Robert Love 8d78492fda 2006-05-25 Robert Love <rml@novell.com>
Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
	* libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
	  not using gcrypt.  Otherwise, we get a linker error.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:32:10 +00:00
Robert Love f560d48b7d 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
	  libnm-util/Makefile.am, src/Makefile.am,
	  vpn-daemons/openvpn/auth-dialog/Makefile.am,
	  vpn-daemons/openvpn/properties/Makefile.am,
	  vpn-daemons/pptp/auth-dialog/Makefile.am,
	  vpn-daemons/pptp/properties/Makefile.am,
	  vpn-daemons/vpnc/auth-dialog/Makefile.am,
	  vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
	  user passed for --datadir, if anything, when setting the GNOME locale
	  directory.  It should be a function of the specified datadir and not
	  the prefix.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:08:22 +00:00
Robert Love e8942d502a 2006-05-09 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
	  private certificate passphrase, if any, in the GNOME Keyring.
	* libnm-utils/dbus-helpers.c: Update.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1723 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-09 15:06:41 +00:00
Robert Love aeec0b1d89 Don't hardcode the zero. The key type is NM_AUTH_TYPE_WPA_PSK_AUTO.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1631 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:26:58 +00:00
Robert Love db98fe8137 2006-03-22 Robert Love <rml@novell.com>
Implement "Dynamic WEP", which is basically WPA authentication and WEP
	key exchange via WPA, ostensibly providing good security without
	requiring hardware that supports full WPA.  Also, add UI elements to
	allow the user to select the pairwise & group cipher for WPA Enterprise
	networks, too:
	* gnome/applet/applet.glade: Update glade file.
	* gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
	  key type, too, to and from gconf.
	* gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
	  wso_wpa_create_key_type_model(), noting whether we are handling PSK
	  or EAP configuration, and in the latter case add in "Dynamic WEP" if
	  the capabilities match.
	* gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
	  prototype.
	* gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
	  serialize from UI to DBUS.
	* gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
	  one element.
	* libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
	  nmu_security_serialize_wpa_eap_with_cipher(), and
	  nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
	  serialize/deserialize the key type via DBUS as the new third DBUS
	  parameter.
	* libnm-util/dbus-helpers.h: Update prototypes.
	* src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
	  too.  If the key type is WEP104, do Dynamic WEP, which means
	  "IEEE8021X" for "key_mgmt".  Also add support for user-specified
	  pairwise and group ciphers (fixes a FIXME).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1628 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 19:52:41 +00:00
Robert Love 71a1e7fccf * libnm-util/cipher-wep-passphrase.c: Don't need those forward
declarations.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1612 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:49:49 +00:00
Robert Love 383b3161e4 dbus_free() is for the bees.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1523 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:48:17 +00:00
Robert Love 929b45c69f 2006-02-28 Robert Love <rml@novell.com>
* libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
	  src/nm-ap-security-wpa-psk.c: Fix FIXMEs: Callers of the DBUS
	  deserializers are responsible for freeing the returned DBUS strings.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1514 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 19:40:22 +00:00
Robert Love 7301a244b2 2006-02-25 Robert Love <rml@novell.com>
Add WPA Enterprise support:
	* gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
	  nm-gconf-wso-wpa-eap.h.
	* gnome/applet/nm-gconf-wso-wpa-eap.c,
	  gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
	  serialization and deserialization.
	* gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
	  gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
	  gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
	* gnome/applet/wireless-applet.glade: Add UI for configurating security
	  settings related to WPA Enterprise.
	* gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
	  instantiate WPA Enterprise wireless-security-option.
	* gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
	  Implement WPA Enterprise wireless-security-option object.
	* include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
	  defines.  Cleanup.
	* libnm-util/cipher-wpa-psk-hex.c,
	  libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
	* libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
	  nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
	  nmu_security_serialize_wpa_eap_with_cipher() to serialize input
	  including the cipher to DBUS method, and
	  nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
	  to output.
	* src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
	  nm-ap-security-wpa-eap.h
	* src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
	  NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
	* src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
	  files.  Implement NMAPSecurityWPA_EAP object.
	* src/nm-ap-security-wpa-psk.c: Cleanup.
	* src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
	  an NMAPSecurityWPA_EAP object via the method
	  nm_ap_security_wpa_eap_new_deserialize().
	* src/nm-dbus-nm.c: Cleanup.
	* test/nm-tool.c: Display "Enterprise" for wireless networks providing
	  WPA Enterprise support.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1493 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-26 02:16:53 +00:00
Robert Love b04a58e5f9 2006-02-07 Robert Love <rml@novell.com>
Patch by Stefan Seyfried <seife@suse.de>:
	* libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1458 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-07 15:39:50 +00:00
Robert Love 569693ce2d 2006-01-30 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
	  gnome/applet/wireless-security-option.c, include/NetworkManager.h,
	  libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
	  libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
	  support for "Automatic" pairwise and group cipher configuration by
	  letting wpa_supplicant handle the details.  Add UI elements, new
	  cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
	  charm.  Note this does more than add a nice feature, it fixes a bug.
	  Apparently, some people have AP's where the pairwise cipher does not
	  match the group cipher.  Insane, but true.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1407 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 19:40:10 +00:00
Robert Love b60c770dab 2006-01-26 Robert Love <rml@novell.com>
* configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
	* gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
	  gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
	  gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
	  gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
	  gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
	  gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
	  gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
	  gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
	  gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
	  gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
	  libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
	  src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
	  src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
	  src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
	  Kill unused variables, labels, and static functions.  Don't pass
	  string literals as the format string for printf-like functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1391 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 21:08:44 +00:00
Dan Williams c316f359cd 2006-01-23 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-private.h
	  libnm-util/cipher.c
	  libnm-util/cipher.h
		- (cipher_bin2hexstr, cipher_hexstr2bin): make public


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1384 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-24 00:37:39 +00:00
Dan Williams 2acf29216a Remove unused variables
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1344 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 21:50:36 +00:00
Robert Love 1a108beb3c 2006-01-16 Robert Love <rml@novell.com>
Patch from Timo Hoenig  <thoenig@suse.de:
	* libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
	  libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
	  libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
	  libnm-util/dbus-helpers.h: add checks whether headers are used
	  within a C++ build.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1336 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:18:43 +00:00
Dan Williams c1adb93eb1 2006-01-16 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_passphrase_new): correct passphrase length, should
			be 8 - 63 characters inclusive


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1334 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:16:10 +00:00
Dan Williams f2c3f74a13 2006-01-11 Dan Williams <dcbw@redhat.com>
Add options for WPA2 and WPA1+CCMP (AES).

	* gnome/applet/wireless-applet.glade
		- Add UI bits for WPA+CCMP

	* gnome/applet/other-network-dialog.c
		- (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
			and don't allow creation of WPA2 Ad-Hoc networks since
			wpa_supplicant doesn't support them

	* gnome/applet/wireless-security-manager.c
		- (wsm_set_capabilities): Add WPA2 options, and pass capability
			on to the specific wireless security option being created

	* gnome/applet/wireless-security-option.[ch]
		- (wso_wpa_create_key_type_model): new utility function to create
			the model required for WPA Key Type combo box

	* gnome/applet/wso-private.h
	  gnome/applet/wireless-security-option.h
		- Move private function prototypes into wso-private.h

	* gnome/applet/wso-wpa-psk-hex.[ch]
	  gnome/applet/wso-wpa-psk-passphrase.[ch]
		- (append_dbus_params_func): get WPA version from checkbox and pass
			it to the dbus serialization helper
		- (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
			key type combo changes
		- (wso_wpa_psk_hex_new): set up the key type combo with the correct
			model and options

	* libnm-util/cipher-wpa-psk-hex.c
	  libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
			new function; allow the cipher to be changed after object creation

	* src/nm-ap-security-wpa-psk.c
		- (set_description): Do WPA2 descriptions too

	* src/nm-ap-security.c
		- (nm_ap_security_new_from_ap): allow CCMP with WPA1 too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1317 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 20:46:26 +00:00
Dan Williams 946ea92fcd Patch from Timo Hoenig: fix library name for libnm-util
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1302 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-09 15:05:19 +00:00
Timo Hoenig 86ec20a304 2006-01-09 Timo Hoenig <thoenig@suse.de>
* libnm-util/dbus-helpers.c
          libnm-util/dbus-helpers.h
                - (nmu_create_dbus_error_message): rename parameter 'namespace'
                        to 'exception_namespace' (:namespace is a keyword in C++)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1301 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-09 15:04:43 +00:00
Dan Williams e73ed7ea26 2006-01-08 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-helpers.c
		- (nmu_security_serialize_wpa_psk): pass a blank key through
			dbus when key == NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1296 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-08 23:01:51 +00:00
Robert Love 22e8b28790 2006-01-06 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c,
	  gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
	  libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
	  src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
	  New Network' both failed in the non-encrypted case because we were
	  not appending the security options to the DBUS message.  And
	  'Connect to Other' was also failing in the encrypted case because
	  we were not incrementing to the next DBUS parameter.  All fixed.
	  Thanks to dcdw for some debugging help.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1276 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 20:12:31 +00:00
Dan Williams 4dd1456235 2005-12-29 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_passphrase_hash_func): return key as hex string
			like other ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1236 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:33:06 +00:00
Dan Williams 5c35a1372c 2005-12-23 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-compat.c
		- Fix bugs in GConf entry conversion

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_network_properties): handle case of the BSSID
			list being zero-length

	* libnm-util/cipher-*
	  libnm-util/dbus-helpers.c
		- All ciphers must now return hashed keys as UTF-8 valid
			hexadecimal strings, ie "8f3dae4023".  They are pushed
			through dbus as strings too.
		- Consolidate various functions that do bin->hex and hex->bin
			conversion into cipher.c

	* src/nm-ap-security-wep.c
	  src/nm-ap-security-wpa-psk.c
		- Handle NULL keys since we may not know keys right away

	* src/nm-dbus-nmi.c
		- (nm_dbus_get_network_data_cb): actually advance to the start
			of the wireless security info before we try to deserialize it

	* libnm-util/test-ciphers.c
		- Update cipher tests for the change to UTF-8 hexadecimal strings


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1230 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-23 08:20:12 +00:00
Dan Williams 29598dfdc0 2005-12-21 Dan Williams <dcbw@redhat.com>
* test/libnm-util
		- Add some testcases for WEP ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1217 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 08:11:57 +00:00
Dan Williams fad972d5a0 2005-12-17 Dan Williams <dcbw@redhat.com>
* Fix bugs


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1212 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-18 02:53:32 +00:00
Dan Williams a601e80848 2005-12-17 Dan Williams <dcbw@redhat.com>
* gnome/applet/*
		- More applet cleanups
		- Use the dbus-method-dispatcher

	* libnm-util/dbus-method-dispatcher.[ch]
		- Generalize the implementation from NM in
			NetworkManagerUtils.c


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1210 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-17 21:10:37 +00:00
Dan Williams 5cf219f7c8 2005-12-15 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-helpers.[ch]
		- Make this the one-stop-shop for serializing/deserializing
			AP & connection security settings over dbus.  Both NM
			and applets should use this to ensure consistent dbus
			API going forwared.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1194 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-15 18:24:28 +00:00
Dan Williams 503f55796b 2005-12-14 Dan Williams <dcbw@redhat.com>
* src/nm-ap-security*.[ch]
		- Add AP security abstractions to NetworkManager

	* src/nm-dbus-device.c
		- Begin to parse new format dbus messages from the applet
			and construct an AP security object from the message

	* libnm-util/dbus-helpers.c
		- Use message iters so we can append the key as a fixed
			array of bytes, which actually works rather than
			using dbus_message_append_args() as we were before


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1184 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-14 15:53:34 +00:00
Dan Williams e0b5f17877 Remove some debug prints
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1175 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 16:39:49 +00:00
Dan Williams e8a0e3c5d7 2005-12-12 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-helpers.[ch]
	  libnm-util/Makefile.am
		- new helper calls to consolidate locations where
			NM's setDevice method is called

	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/wireless-security-option.c
	  gnome/applet/wso-*
		- Implement dbus message param append function for
			all wireless security options


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1174 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 22:18:55 +00:00
Robert Love 12095c0f04 2005-12-12 Robert Love <rml@novell.com>
* libnm-util/cipher-wep-passphrase.c,
	  libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
	  src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
	  src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
	  all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
	  When handling keys, we don't care what the sign is.  The compiler
	  guarantees us that we get our 8-bits, which is all we care about.
	* configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1172 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 19:57:59 +00:00
Robert Love 49776b18d3 add cipher-private.h to Makefile.am
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1168 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 16:00:46 +00:00
Dan Williams d9ac9fbdf3 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
		- More fixups
		- Remove cipher-manager.* because we don't need it
		- Forgot to add gnome-keyring-md5 files to compile list


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:33:26 +00:00
Dan Williams fdbaa9662e Add cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1153 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 02:26:47 +00:00
Dan Williams 7758dcb273 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
	  configure.in
	  Makefile.am
		- Add a utility library for clients of NetworkManager.  It's
			only targetted at applets for the moment, and contains
			a generalized 802.11 cipher framework for different
			types of keys (WEP & WPA Hex, ASCII, Passphrase)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1152 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-09 23:25:22 +00:00