Hi
I'm making an input device with trouble (something like a keyboard), so for that I want the device to just pair, and work. However it appears, that trouble does not support JustWorks auth, as tries to use it by setting IoCapabilities to NoInputNoOutput (the default) lead me to InvalidState errors. trouble also always sets the MITM Protection bit to on in AuthReq, with no way to disable that:
|
AuthReq((bonding as u8) | AUTH_REQ_MITM | AUTH_REQ_SECURE_CONNECTION) |
and MITM protection can't be really achieved for a device with no input or output.
Hi
I'm making an input device with
trouble(something like a keyboard), so for that I want the device to just pair, and work. However it appears, thattroubledoes not support JustWorks auth, as tries to use it by settingIoCapabilitiestoNoInputNoOutput(the default) lead me to InvalidState errors.troublealso always sets the MITM Protection bit to on inAuthReq, with no way to disable that:trouble/host/src/security_manager/types.rs
Line 423 in e658d7e
and MITM protection can't be really achieved for a device with no input or output.