Re: [PATCH v1] Bluetooth: Check for encryption key size on connect

From: Marcel Holtmann
Date: Sun Sep 20 2020 - 02:18:49 EST


Hi Archie,

> When receiving connection, we only check whether the link has been
> encrypted, but not the encryption key size of the link.
>
> This patch adds check for encryption key size, and reject L2CAP
> connection which size is below the specified threshold (default 7)
> with security block.

please include btmon trace in the commit message to demonstrate this.

Regards

Marcel