What the Gateway Can Read with OSCORE
What the Gateway Can Read with OSCORE
Try Press Step once to see how the thermostat packages its reading, request method and inner resource path for forwarding through the gateway.
What the Gateway Can Read with OSCORE
Step-throughTrace a thermostat request through a forwarding gateway and identify which content the gateway can read when OSCORE is used by itself or alongside DTLS.
Shared OSCORE security context (keys and state)
Thermostat
Gateway
Service
Original request
- Reading (payload)
- Request method (operation)
- Inner resource path (server item)
Shared OSCORE security context (keys and state)
Thermostat
Gateway
Service
Outer CoAP message
Required outer forwarding fields
OSCORE protected content
Sealed for service
Sealed for service
Shared OSCORE security context (keys and state)
Thermostat
Gateway
Service
Outer CoAP message
Required outer forwarding fields
OSCORE protected content
Sealed for service
Sealed for service
Traffic visible at gateway
Shared OSCORE security context (keys and state)
Thermostat
Gateway
Service
Outer CoAP message
Required outer forwarding fields
OSCORE protected content
Sealed for service
Sealed for service
Verified and decrypted ↓
- Reading (payload)
- Request method (operation)
- Inner resource path (server item)
Shared OSCORE security context (keys and state)
Thermostat
Gateway
Service
OSCORE with DTLS on the thermostat-to-gateway hop
Thermostat → Gateway
DTLS wrapper
Outer CoAP message
CoAP fields concealed in transit
OSCORE protected content
Sealed for service
Sealed for service
On-path observer
Network addresses and ports visible. CoAP fields concealed.
Gateway → Service
DTLS terminates here ↓
Outer CoAP message
Required outer forwarding fields
OSCORE protected content
Sealed for service
Sealed for service
Outgoing link protection unspecified.
The thermostat and service share the keys and state for protecting and verifying the request content.
Observe In Frame 3, the gateway highlights the required outer CoAP forwarding fields and shows the OSCORE content as sealed. Frame 4 reveals the reading, method and inner path at the service.
Explain The gateway in Frame 3 lacks the shared OSCORE keys, so it forwards using the outer fields. The service shares the security context with the thermostat and can verify and decrypt the inner request.
Technical boundaries. The diagram follows one thermostat request through a forwarding gateway and groups the outer fields by their purpose. The DTLS example specifies protection on the thermostat-to-gateway hop and leaves protection on the outgoing link unspecified.