[PATCH] Add dbus signal for information about server certification

Michael Chang mchang
Tue Jun 21 03:46:56 PDT 2011


What's the preferred type for reporting hex via dbus. String or byte array?

Thanks,
Michael

2011/6/21 Johannes Berg <johannes at sipsolutions.net>:
> On Mon, 2011-06-20 at 23:39 -0500, Dan Williams wrote:
>> On Mon, 2011-06-20 at 12:39 +0800, Michael Chang wrote:
>> > In general, this patch attemps to extend commit
>> > 00468b4650998144f794762206c695c962c54734 with dbus support.
>> >
>> > This can be used by dbus client to implement subject match text
>> > entry with preset value probed from server. This preset value, if
>> > user accepts it, is remembered and passed to subject_match config
>> > for any future authenication.
>>
>> How does the 'cert' dict member come out? ?It's marked as a STRING type,
>> is it a string of hex chars or something else? ?If it's a string of hex
>> chars, shouldn't the dict member's type be a byte array (ay) instead?
>
> Yeah we have a whole bunch of things like that, or at least I fought a
> bunch with p2p -- for some reason people like adding hex to dbus??
>
> johannes
>
>



More information about the Hostap mailing list