Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Conformance
Conformance
Profiles
Proposed profiles
Cases

OBSP-NODE-CONSTRAINED: Constrained device behind a gateway (compact CBOR, gateway attestation, OSCORE with EDHOC)

PROPOSED Source oips/drafts/OIP-0027/patches/registers.patch

Proposed in OIP-0027 (status DRAFT), in patches/registers.patch. Not part of the protocol unless the editors accept the proposal; no implementation can claim it.

FieldValue
StatusPROPOSED
ProposalOIP-0027: NODE-CONSTRAINED profile: compact CBOR encoding, SenML mapping, gateway attestation and OSCORE/EDHOC
FunctionsJoin, Observe, Time
Notesfrontier profile (OIP-0027); join here is gateway-assisted, observe uses the compact encoding and evidence batches, time is the gateway's when the device has no clock; never a new function

Requirements

  • NC-1: Deterministic CBOR (RFC 8949 §4.2.1) over the CDDL and the published key table; receivers reject non-deterministic items and keys or enumeration indexes outside the table
  • NC-2: Compact form and JSON form convert into each other without loss; a field with no key is an error; a timestamp that is not a whole second in UTC is kept as text
  • NC-3: A message may leave out what its CompactContext fixes; the gateway expands it to a full ObservationRecord, points its evidence reference at the message digest, and refuses (and records) a message with an unknown context, property or unit
  • NC-4: A device joins through its gateway: the gateway holds the NodeManifest and publishes the CompactContext (observer, index, gateway key, link to the manifest)
  • NC-5: Size budget: a measured quantity message (context, property, value, time) is at most 40 bytes; an evidence batch of N messages at most 46 N + 480 bytes
  • NC-6: A single-value measurement maps one to one to SenML and back; records SenML cannot carry are refused, never reduced
  • NC-7: The gateway records the SHA-256 digest of every accepted message in an EvidenceBatch with a count, a batch digest and one gateway signature; the device signs nothing
  • NC-8: The gateway signature is a COSE_Sign1 over the batch payload (identifiers, time, digest, references, declared times); the gateway is a software agent in the batch's provenance
  • NC-9: A clockless device sends no time; the gateway declares it from its own sound clock and says so (GATEWAY_DECLARED, extension obsp.nc); a gateway whose time is compromised does not declare
  • NC-10: The link is OSCORE (RFC 8613) with an EDHOC (RFC 9528) context; no long-lived shared secret as master secret; unprotected, replayed and unknown-context messages are refused
  • NC-11: The gateway is itself an OBSP-NODE; its devices are not admitted participants on their own

Proposed cases

CaseTitleLevelKind
CT-NODE-140Join (gateway-assisted): a compact context binds the device's observer, units, clock and OSCORE with EDHOC link to the NodeManifest the gateway holds (NC-4, NC-10)SELF_TESTEDinvariant
CT-NODE-141Observe: an evidence batch lists the digest of every accepted message in order, with a count, a batch digest and one gateway signature that checks against the gateway key, and fits the size budget (NC-5, NC-7)SELF_TESTEDinvariant
CT-NODE-142Observe: the gateway is an agent in the batch's provenance, associated with the activity that generated the batch (NC-8)SELF_TESTEDinvariant
CT-NODE-143Time: a device without a clock sends no time; the gateway declares it from its own sound TimeQuality and the batch says so (NC-9)SELF_TESTEDinvariant
CT-NODE-144Observe: the compact encoding is deterministic CBOR over the published key table and converts to JSON and back without loss; a context message expands to a full record or is refused (NC-1, NC-2, NC-3)SELF_TESTEDmanual
CT-NODE-145Observe: a single-value measurement maps one to one to a SenML record, and a record SenML cannot carry is refused (NC-6)SELF_TESTEDmanual
CT-NODE-146Observe: a measured quantity message (context, property, value, time, optionally unit and result time) is at most 40 bytes, and an evidence batch of N messages at most 46 times N plus 480 bytes (NC-5)SELF_TESTEDmanual
CT-NODE-147Join (gateway-assisted): the device link is protected by OSCORE with a context established by EDHOC; unprotected and replayed messages are refused (NC-10)SELF_TESTEDmanual
CT-NODE-148Join (gateway-assisted): the gateway is itself a conforming node and the constrained devices behind it are not admitted as participants on their own (NC-11)SELF_TESTEDmanual