question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSCORE over coap at client side

See original GitHub issue

Here 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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rikard-sicscommented, Jul 11, 2022

Maybe we can close this one ? @rikard-sics WDYT ?

Yeah, I think so. There are other issues we can continue the discussions in.

0reactions
sbernard31commented, Jul 8, 2022

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 ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found