Re: [PATCH] doc/mgmt-api: Add security level to new CSRK events

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

 



Hi,

On Thu, Feb 26, 2015, Johan Hedberg wrote:
> In order to distinguish between LE Security Mode 2 levels 1 and 2 we
> need to know whether a CSRK is authenticated or unauthenticated. So far
> this information wasn't available in the New CSRK event from the kernel.
> 
> This patch renames the Master parameter of the event to Type and adds
> two new values to it. The two old values 0x00 and 0x01 still have the
> same meaning as before from the local/remote CSRK perspective. Since we
> so far have not known anything about the security level these values
> must be assumed to be unauthenticated.
> 
> The consequence of this update is that authenticated keys with new
> kernels will simply be ignored by existing code (which only accepts
> values 0x00 and 0x01), however since we haven't really had any code
> doing real signing so far this should be an acceptable compromise.
> ---
>  doc/mgmt-api.txt | 21 ++++++++++++---------
>  1 file changed, 12 insertions(+), 9 deletions(-)

As no-one raised any objections I went ahead and pushed this patch. Next
I'll work on kernel and user-space patches to implement the changes.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux