An OSCORE/EDHOC middleware for CoAP
At FrOSCon 19, 2024-08-17, RIOT devroom
Think HTTP, but for embedded (~100KiB ROM)
| HTTP | CoAP |
| TCP | UDP |
| IPv6 | IPv6 |
| Ethernet | 6LoWPAN |
| WiFi | 802.15.4 |
Disclaimer: 1-person project (but integrated in coap-rs etc.)
| Request-Response | Asymmetric Key |
| OSCORE | EDHOC |
| Request-Response | |
| CoAP-over-UDP | CoAP-over-others |
| Datagram | |
| UDP | |
"Is this client authorized to access this resource?"
fn extract_request_data<M: ReadableMessage>( &mut self, request: &M ) -> Result<Self::RequestData, Self::ExtractRequestError> { // Careful here, user may not be authorized yet! request.how_do_i_query_the_credentials()?; }
Not at all: Managed security.
I get:
You get:
At one point, we'll need more.
Dynamic REST AIF
Non-AIF access control