About pass_key settings:
Without the capability settings none of the callbacks are going to be called..
Actually, unless using the keyboard or yesno confirm capabilities, things won't be secure anyway.
That would be outside the scope of a daemon that is supposed to just run (headless).
About pin_code settings
I couldn't find a way to get the RequestPasskey/DisplayPasskey working, at least not on a vanilla raspberry installation. It looks in the code like it works the same as passkey.. What should be the expected behavior? Does this depend on the connecting device?
I used an Iphone.
EDIT:
Never mind, I just saw this in the next PR.
btmgmt ssp off
Now it makes sense, but the pass_key setting seems meaningless.
I am not quite sure how this is working.
About
pass_key
settings: Without the capability settings none of the callbacks are going to be called.. Actually, unless using the keyboard or yesno confirm capabilities, things won't be secure anyway. That would be outside the scope of a daemon that is supposed to just run (headless).About
pin_code
settings I couldn't find a way to get the RequestPasskey/DisplayPasskey working, at least not on a vanilla raspberry installation. It looks in the code like it works the same as passkey.. What should be the expected behavior? Does this depend on the connecting device? I used an Iphone.EDIT: Never mind, I just saw this in the next PR.
Now it makes sense, but the
pass_key
setting seems meaningless.