aiocoap icon indicating copy to clipboard operation
aiocoap copied to clipboard

OSCORE example

Open StefanHri opened this issue 5 years ago • 8 comments

Is there an usage example for OSCORE clien/server similar to the standard CoAP client/server examples here: https://aiocoap.readthedocs.io/en/latest/examples.html

StefanHri avatar Feb 11 '20 10:02 StefanHri

Not yet. The closest to are the plugtest client and server programs in contrib/oscore-plugtest but they need to be used with some care. An example of how to set up aiocoap-client as an OSCORE client is also out there in the libOSCORE documentation (starting at "Cryptography setup", everything before is for the embedded device).

Good point, I'm putting it on the to-do list.

(Ideally, that'd be all much smoother to set up once LAKE is there to allow setup with PFS and sender ID negotiation, but admittedly, OSCORE needs to be usable on its own just as well).

chrysn avatar Feb 11 '20 10:02 chrysn