aiocoap
aiocoap copied to clipboard
OSCORE example
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
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).