[PATCH] DBus: publish keys in network properties

Jouni Malinen j
Fri Dec 17 08:39:39 PST 2010


On Fri, Dec 17, 2010 at 03:33:54PM +0100, Johannes Berg wrote:
> When the network was provisioned, we need to
> get the keys to be able to reconnect without
> new provisioning.

> -	char **props = wpa_config_get_all(net->ssid, 0);
> +	char **props = wpa_config_get_all(net->ssid, 1);

I did not like the idea of wpa_config_get_all() much when it was added
and the main reason that it got it was in disabling the fetching of the
key part.. This would be reverting that.

Can we limit this to networks provisioned with WPS/P2P or provide a
different mechanism for getting the provisioned information to external
programs without exposing keys that are configured in wpa_supplicant
configuration?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list