OSCORE over coap at server side
See original GitHub issueHere we discuss about how integrate OSCORE over coap at server side.
Some ideas I have in mind : A Leshan server user want to say that a device with the endpoint “mydevice” should communicate in OSCORE. So he creates a new SecurityInfo(“mydevice”, oscore indentifier …) and I add it to the security store.
When a device use OSCORE, we could image that this is visible in endpoint context. From this we create the corresponding identity
, then the authorizer is responsible to check if this device should connect itself using oscore and if it use the right oscore parameter (looking in security store).
For sending request we should also put pertinent data in endpointcontext like we do here
The idea is to make pretty much the same as we did for DTLS with PSK.
(@rikard-sics tell me if it makes senses)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
Yeah, I think so. There are other issues like #725 we can continue the discussions in.
With https://github.com/eclipse/leshan/pull/1277 integrated in
master
and missing work listed at https://github.com/eclipse/leshan/issues/725#issuecomment-1179021294.Maybe we can close this one too ? @rikard-sics WDYT ?