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 and multiple responses #2

Closed
chrysn opened this issue Jul 26, 2022 · 1 comment
Closed

OSCORE and multiple responses #2

chrysn opened this issue Jul 26, 2022 · 1 comment
Assignees

Comments

@chrysn
Copy link
Member

chrysn commented Jul 26, 2022

The combination of OSCORE and multiple nontraditional responses opens an orthogonality gap: OSCORE only talks about Observe multiple responses, and suddenly we could have different ones as well -- and the receiver could decrypt a response multiple times (as there is no replay protection for responses).

We can't close that gap generally, but maybe there's a place for a statement like

When receiving multiple responses through an OSCORE layer, that layer should pass on the sequence numbers (and, in group mode, KID) to the application. The mechanism introducing the multiple responses should contain statements on how to treat responses, given that OSCORE has no built-in response replay protection. In Observe, for example, responses are strictly ordered by their sequence numbers, and older responses discarded, implicitly eliminating duplicates. For proxied multicast requests, handlers should be idempotent anyway (because the proxy is allowed to send multiple responses from a single node), and would thus tolerate replayed responses without ill-effects.

(This was discovered by @marco-tiloca-sics as an issue with group requests forwarded through proxies).

@cabo
Copy link
Member

cabo commented Mar 2, 2024

Addressed by #3

@cabo cabo closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants