OSCORE over coap at client side
See original GitHub issueHere we discuss about how integrate OSCORE over coap at client side.
Some ideas I have in mind : The OSCORE context must be retrieve from OSCORE object so setting OSCORE context should looks like :
long oscoreInstanceId;
initializer.setInstancesForObject(21, new OSCORE(oscoreInstanceId, master, sid, rid, ....);
initializer.setInstancesForObject(SECURITY, Security.oscore(serverURI, 123, oscoreInstanceId));
initializer.setInstancesForObject(SERVER, new Server(123, 30, BindingMode.U, false));
Then in CaliforniumEndpointsManager.createEndpoint()
, if the client should use oscore for the given server, a endpoint is created with support of oscore and with corresponding oscore context a bit like for PSK. (see https://github.com/eclipse/leshan/blob/leshan-1.0.0-M11/leshan-client-cf/src/main/java/org/eclipse/leshan/client/californium/impl/CaliforniumEndpointsManager.java#L89)
(@rikard-sics tell me if this is make sense as I don’t know so well the OSCORE RFC I maybe missed something.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Profiling EDHOC for CoAP and OSCORE draft-ietf-core ...
In the rest of this document, EDHOC messages are considered to be transferred over CoAP. Figure 1 shows a CoAP client and a...
Read more >Evaluating the performance of the OSCORE security protocol ...
In this paper, we therefore provide a comprehensive, experimental and comparative performance evaluation of the OSCORE protocol, considering a CoAP client and a ......
Read more >RFC 8613: Object Security for Constrained RESTful ...
An analysis of end-to-end security for CoAP messages through some types of intermediary nodes is performed in [CoAP-E2E-Sec]. OSCORE essentially protects ...
Read more >IoT Content Object Security with OSCORE and NDN - arXiv
findings indicate that (a) OSCORE improves on CoAP over DTLS ... It implements the server-side and client-side, it supports.
Read more >Measurement of responsiveness comparing RTT between ...
OSCORE security contexts for a client and server pair showing.. Fig. 3. ... as it results in an always smaller RTT experienced on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, I think so. There are other issues 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 ? @rikard-sics WDYT ?