Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSCORE over coap at server side #727

Closed
sbernard31 opened this issue Aug 12, 2019 · 6 comments
Closed

OSCORE over coap at server side #727

sbernard31 opened this issue Aug 12, 2019 · 6 comments
Labels
new feature New feature from LWM2M specification server Impact LWM2M server
Milestone

Comments

@sbernard31
Copy link
Contributor

Here 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)

@rikard-sics
Copy link
Contributor

The idea is to make pretty much the same as we did for DTLS with PSK.

Yes I think the points you outline make a lot of sense. Especially trying to make the OSCORE functionality mirror how things are done for DTLS PSK.

@sbernard31 sbernard31 added new feature New feature from LWM2M specification server Impact LWM2M server labels Aug 14, 2019
@sbernard31 sbernard31 added this to the 2.0.0 milestone Aug 14, 2019
@rikard-sics
Copy link
Contributor

rikard-sics commented Oct 31, 2019

I have now created a PR for setting an identity and matching the identity when using OSCORE here #766

One thought I had was that long-term we could have something like the PskStore but for OSCORE contexts, rather than the OscoreHandler used now.

@rikard-sics
Copy link
Contributor

I have now created a PR to add support for OSCORE communication to the bootstrap server also. See #857

@rikard-sics
Copy link
Contributor

I have now created a PR #919 to enable the client bootstrapping to receive OSCORE security material.

@sbernard31
Copy link
Contributor Author

With #1277 integrated in master and missing work listed at #725 (comment).

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

@rikard-sics
Copy link
Contributor

rikard-sics commented Jul 11, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature from LWM2M specification server Impact LWM2M server
Projects
None yet
Development

No branches or pull requests

2 participants