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

Replace OPAQUE_INFO by NEARBY_VS in EAD_1 #29

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 18 additions & 6 deletions draft-ietf-lake-authz.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,12 @@ ENC_U_INFO is 'ciphertext' of COSE_Encrypt0 ({{Section 5.2 of RFC9052}}) comput
~~~~~~~~~~~
plaintext = (
ID_U: bstr,
?OPAQUE_INFO: bstr,
?NEARBY_VS: map,
)

NEARBY_VS = {
uint: [ + bstr ],
}
~~~~~~~~~~~
~~~~~~~~~~~
external_aad = (
Expand All @@ -413,11 +417,19 @@ where

* ID_U is an identifier of the device, see {{device}}.

* OPAQUE_INFO is an opaque field provided by the application.
If present, it will contain application data that U may want to convey to W, e.g., enrollment hints, see {{hints}}.
Note that OPAQUE_INFO is opaque when viewed as an information element in EDHOC.
It is opaque to V, while the application in U and W can read its contents.
The same applies to other references of OPAQUE_INFO throughout this document.
* NEARBY_VS contains network identifiers of Vs that have been discovered by U.
U MAY send a NEARBY_VS list to W as an optimization when there are many available Vs, where there is a higher chance that the request to enroll via a particular V will be denied.
NEARBY_VS is encoded as a map of types of network identifiers to a list of network identifiers.
A list of integer keys to be used as types of network identifiers is provided in {{net-id-table}}.
For example, in a given entry, the key is the integer 1 (meaning a MAC address) and the value is \[A2-A1-88-EE-97-75\].

| Value | Network Identifier |
| 1 | MAC Address |
| 2 | PAN ID |
| 3 | IPv4 Address |
| 4 | IPv6 Address |
| 16-255 | Application-specific |
{: #net-id-table title="Mapping network identifiers to integers for efficient serialization." cols="r l"}

* SS is the selected cipher suite in SUITES_I of EDHOC message_1, see {{U-V}}.

Expand Down