IOTOPS P. Liu, Ed. Internet-Draft R. Yang, Ed. Intended status: Standards Track Y. Zhang, Ed. Expires: 28 May 2027 X. Zhong, Ed. Pengcheng Laboratory Y. Gong, Ed. Schneider Electric 24 November 2026 Post-Quantum SecureChannel Profiles and Lifecycle Operations for IoT Deployments Using OPC UA draft-liu-iotops-pqc-uasc-02 Abstract This document addresses post-quantum SecureChannel migration for Internet of Things (IoT) deployments that already use OPC Unified Architecture (OPC UA), including fleets of capable controllers and industrial gateways with limited local user interfaces. It describes authorized application onboarding, credential and policy provisioning, bounded key use, renewal, failure recovery, quarantine, and retirement under existing device and application authorization. A cryptographic protection profile for OPC UA Secure Conversation (UASC) over opc.tcp uses ML-KEM-768, ML-DSA, HKDF-SHA-256, and AES- 256-GCM. It specifies profile identifiers, nonce encoding, key derivation, authenticated encryption, identity binding, sequence and SecurityToken processing, per-key usage limits, and conformance requirements supporting those operations. This individual submission proposes Standards Track publication and requests IOTOPS review of its IoT operational requirements. The appropriate venue for new protocol work requires separate determination. Permanent OPC UA SecurityPolicy and algorithm identifiers require coordination with the OPC Foundation; the private identifiers remain provisional and do not establish OPC Foundation conformance. Discussion Status This note is to be removed before publishing as an RFC. Liu, et al. Expires 28 May 2027 [Page 1] Internet-Draft IoT PQ OPC UA Operations November 2026 This is an individual contribution for IOTOPS discussion of IoT onboarding, cryptographic lifecycle management, remediation, and operational security. Its intended status remains Standards Track. That proposal does not establish working-group adoption, charter authority for a new UASC cryptographic mapping, or OPC Foundation endorsement. The operational scope and protocol review boundaries are described in Section 5. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 28 May 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions and Requirements Language . . . . . . . . . . . . 4 3. Scope and Relationship to OPC UA . . . . . . . . . . . . . . 4 4. IoT Deployment and Lifecycle Operations . . . . . . . . . . . 5 4.1. Managed Controllers and Gateway Fleets . . . . . . . . . 5 4.2. Trust Provisioning and Authorized Admission . . . . . . . 6 4.3. Key Renewal, Recovery, and Configuration Restoration . . 6 Liu, et al. Expires 28 May 2027 [Page 2] Internet-Draft IoT PQ OPC UA Operations November 2026 4.4. Isolation, Retirement, and Operational Evidence . . . . . 7 5. Relationship to the IOTOPS Charter and Protocol Review . . . 7 6. Inherited UASC Rules and Private PQC Mapping . . . . . . . . 9 7. Threat Model and Design Goals . . . . . . . . . . . . . . . . 10 8. Profile Identification and Algorithm Suites . . . . . . . . . 11 9. Rollover-Capable Private Profile Version . . . . . . . . . . 12 10. SecureChannel Key Establishment . . . . . . . . . . . . . . . 12 11. Key Schedule . . . . . . . . . . . . . . . . . . . . . . . . 14 12. OPN Signature Processing . . . . . . . . . . . . . . . . . . 15 13. MSG and CLO Authenticated Encryption . . . . . . . . . . . . 16 14. AES-GCM Usage Limits and Key Renewal . . . . . . . . . . . . 17 14.1. Protected Chunk Size and Processing Budgets . . . . . . 17 14.2. Accounting Across Tokens and Channel State . . . . . . . 19 14.3. Early Renewal and Exhaustion Handling . . . . . . . . . 19 14.4. Basis and Security Scope . . . . . . . . . . . . . . . . 20 15. Sequence Numbers, Replay, and SecurityToken Rollover . . . . 21 16. Token Activation and Key Confirmation . . . . . . . . . . . . 22 17. Certificates and Key Binding . . . . . . . . . . . . . . . . 23 18. Negotiation, Downgrade, and Failure Handling . . . . . . . . 23 19. Conformance Requirements . . . . . . . . . . . . . . . . . . 24 20. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 25 21. OPC UA Standards and Identifier Coordination . . . . . . . . 25 22. Interoperability and Validation Considerations . . . . . . . 25 22.1. Cryptographic and Wire-Format Test Vectors . . . . . . . 25 22.2. Sequence State and Key Usage . . . . . . . . . . . . . . 26 22.3. Protocol Review and Interoperability Coverage . . . . . 26 22.4. Deployment Validation . . . . . . . . . . . . . . . . . 27 23. Security Considerations . . . . . . . . . . . . . . . . . . . 28 24. References . . . . . . . . . . . . . . . . . . . . . . . . . 29 24.1. Normative References . . . . . . . . . . . . . . . . . . 29 24.2. Informative References . . . . . . . . . . . . . . . . . 30 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 31 1. Introduction Operators of networked industrial controllers and gateways need to provision application trust, select approved security policies, renew keys, recover failed channels, and retire devices across fleets with little or no local user interface. For deployments too large to maintain manually, post-quantum migration is a device-lifecycle and operational-management problem as well as a cryptographic one. OPC Unified Architecture (OPC UA) is the existing application environment; OPC UA Secure Conversation (UASC) supplies its SecureChannel processing over transports such as opc.tcp. Existing deployments commonly use classical public-key algorithms for authentication and key establishment. A sufficiently capable quantum computer threatens those algorithms, motivating migration planning Liu, et al. Expires 28 May 2027 [Page 3] Internet-Draft IoT PQ OPC UA Operations November 2026 over long device service lives. Recorded confidentiality-protected traffic can also be exposed when its key-establishment assumptions fail. These concerns do not make every device suitable for a particular post-quantum profile; operators need to evaluate resource capacity, trust provisioning, and the effect of renewal and recovery on application service. This document connects those tasks to application admission, credential and policy inventory, staged migration, key-use monitoring, and remediation in Section 4. It defines a narrow UASC profile with one ML-KEM parameter set, three ML-DSA parameter-set variants, one HKDF construction, and one AEAD construction. The IOTOPS charter's device onboarding, lifecycle management, isolation, and operational-security topics motivate the operational discussion [IOTOPS-CHARTER]; Section 5 identifies the separate review boundaries for the cryptographic mapping. This document proposes a Standards Track profile for community review. It describes a protocol mapping for OPC UA, but it does not replace OPC UA Part 4 or Part 6 and does not create a new official OPC UA SecurityPolicy. An implementation claiming support for this draft MUST treat the private identifiers as provisional. OPC UA standards and identifier coordination are discussed in Section 21. AES-GCM usage limits and renewal requirements are specified in Section 14. Interoperability and validation considerations are described in Section 22. 2. Conventions and Requirements Language The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in [RFC2119] and [RFC8174] when, and only when, they appear in all capitals. 3. Scope and Relationship to OPC UA The deployment scope is a fleet of capable IoT controllers or gateways with limited user interfaces, managed within an IP-connected administrative domain that already uses OPC UA. Initial device trust, ownership, application authorization, and protected management access are prerequisites. This profile supports onboarding to an authorized OPC UA relationship after initial enrollment; it is not an ownership, zero-touch enrollment, or firmware distribution protocol. Liu, et al. Expires 28 May 2027 [Page 4] Internet-Draft IoT PQ OPC UA Operations November 2026 This document specifies a cryptographic profile for the UASC OpenSecureChannel (OPN), Message (MSG), and CloseSecureChannel (CLO) message paths. It assumes the message framing, sequence headers, SecurityToken fields, endpoint discovery, session services, and application-layer semantics defined by OPC UA Part 4 and Part 6 [OPCUA-Part4][OPCUA-Part6]. The profile does not define a new transport, a new OPC UA service, a new user identity token, or a replacement for the OPC UA certificate profile. In particular, an implementation MUST continue to enforce the OPC UA ApplicationUri and certificate validation rules applicable to its deployment. The profile defines additional requirements for binding an ML-DSA verification key to the authenticated application identity. Formal allocation of a permanent OPC UA SecurityPolicy URI, inclusion in the OPC UA SecurityPolicy table, and changes to OPC UA conformance requirements are outside the authority of this document and require coordination with the OPC Foundation. 4. IoT Deployment and Lifecycle Operations 4.1. Managed Controllers and Gateway Fleets The intended devices are networked to the Internet or within limited administrative domains, have little or no end-user interface, and are deployed in numbers that make manual trust and key management impractical. An industrial operator can manage capable OPC UA servers and clients directly, or terminate UASC at a site gateway. These are illustrative models, not reports of field deployment or a recommendation that every IoT device use OPC UA. A gateway's authenticated application identity identifies that UASC endpoint. It does not by itself authenticate downstream field devices or protect their separate communication paths. Operators retain the existing OPC UA user, session, method, and data-access authorization rules and the network controls appropriate to each site. The resource classes discussed in [RFC7228] help distinguish constrained nodes from capable managed endpoints. Operators SHOULD assess ML-KEM and ML-DSA execution, certificate and message sizes, memory, transport buffers, and signing-service dependencies. Devices that cannot support the profile's message processing and key-state rules need a separately evaluated architecture. No universal constrained-device or performance claim is made. Liu, et al. Expires 28 May 2027 [Page 5] Internet-Draft IoT PQ OPC UA Operations November 2026 4.2. Trust Provisioning and Authorized Admission Before channel establishment, the operator SHOULD associate each inventory identity with its OPC UA ApplicationUri, authorized application certificate and ML-DSA binding, approved peer, exact SecurityPolicy identifier, and lifecycle authorization. Factory provisioning or a selected enrollment mechanism supplies initial trust. Endpoint discovery and an advertised policy are capability information, not authority to replace that binding. Admission proceeds by installing authorized trust and policy, selecting the exact approved profile, validating OPN and the credential binding, and obtaining the protected-message evidence in Section 16. Successful SecureChannel establishment does not grant a user access to application objects or methods. Existing OPC UA session and application authorization remains applicable. Operators SHOULD stage software and credential preparation before enabling a new profile across a fleet. Device support is installed using a separately authorized software or firmware update mechanism; this document defines neither its discovery nor its distribution. A rollout plan should identify compatible peers, maintenance windows, failure thresholds, and a management path that remains available when the target UASC channel fails. A policy that requires this profile MUST NOT silently fall back to a classical policy when provisioning or channel establishment fails. 4.3. Key Renewal, Recovery, and Configuration Restoration The per-direction budgets and early-renewal thresholds in Section 14 are lifecycle inputs for fleet operations. Monitoring SHOULD distinguish token expiry, remaining invocation and block budgets, renewal pending, new-key activation, and channel failure. Operators SHOULD stagger scheduled changes and bound concurrent exchanges and external signing requests; scheduling cannot extend a negotiated lifetime, usage budget, or channel deadline. Loss of sequence, epoch, or usage-accounting state requires fresh channel establishment under the rules in Section 15 and Section 14. Restoring a configuration backup can restore currently authorized trust and policy, but MUST NOT reset counters or usage budgets under retained traffic keys, restore a previously active channel as fresh, or reinstate revoked credentials. Application recovery needs to resolve uncertain operation outcomes through the existing application semantics; reopening a channel does not authorize automatic repetition of a control. Liu, et al. Expires 28 May 2027 [Page 6] Internet-Draft IoT PQ OPC UA Operations November 2026 Operators SHOULD define bounded retry and escalation policies for certificate-status, signing-service, renewal, and transport failures, with backoff and scheduling jitter across the fleet. Recovery of a broken endpoint depends on authorized management that does not rely solely on the failed SecureChannel. Replacing a device or changing ownership requires a current authorization decision even if an old name or endpoint address is reused. 4.4. Isolation, Retirement, and Operational Evidence Revocation or quarantine SHOULD invalidate the affected trust and application authorization, close affected channels and sessions, cancel pending provisioning, and deny operational access at reachable application or network enforcement points. Credential revocation alone is not assumed to terminate an existing channel. Operators coordinate isolation with site safety procedures. Offline devices remain revoked in inventory until recovered or retired; lack of contact is not proof that their secrets were erased. On retirement or ownership transfer, obsolete private keys, traffic keys, credentials, and secret-bearing configuration are removed from stores under the operator's control. A new owner or replacement device needs independently authorized trust. Useful non-secret evidence includes inventory and ApplicationUri bindings, authorization revision, policy identifier, credential validity, token lifecycle, remaining key budgets, renewal outcome, failure category, and recovery duration. Private keys, shared secrets, traffic keys, IV material, and complete secret-bearing configurations MUST NOT be logged. Operational metadata requires appropriate access and retention controls. 5. Relationship to the IOTOPS Charter and Protocol Review The requested IOTOPS contribution concerns trust provisioning and admission, administrative and access control, cryptographic lifecycle monitoring, remediation, quarantine, and retirement for fleets that already use OPC UA. These relate to the charter's Informational and BCP subjects [IOTOPS-CHARTER] and the IoT lifecycle security concerns discussed in [RFC8576]. Liu, et al. Expires 28 May 2027 [Page 7] Internet-Draft IoT PQ OPC UA Operations November 2026 +======================+===========================================+ | Charter topic | Operational contribution | +======================+===========================================+ | Factory provisioning | Inventory-to-application trust bindings | | and onboarding | and key-confirmed channels before | | | application admission. | +----------------------+-------------------------------------------+ | Administrative and | Authorized policy selection, credential | | access control | changes, and preservation of separate | | | user and session permissions. | +----------------------+-------------------------------------------+ | Remediation and | Fresh channels after lost state, bounded | | configuration | recovery, and prevention of restored keys | | recovery | receiving new budgets. | +----------------------+-------------------------------------------+ | Isolation and end of | Revocation enforcement on active | | life | relationships, removal of obsolete trust, | | | and authorized ownership transfer. | +----------------------+-------------------------------------------+ | Operational security | Per-key use monitoring, staged renewal, | | guidance | resource assessment, and failure | | | evidence. | +----------------------+-------------------------------------------+ Table 1: IoT Operational Concerns Addressed by This Document The current charter lists MUD, configuration backup and recovery, and software or firmware upgrade solutions as Standards Track and BCP work. A new UASC cryptographic mapping does not become a chartered Standards Track item merely because it is used by IoT devices or includes renewal and recovery. This individual submission retains its proposed Standards Track status; working-group chairs and the responsible Area Directors need to determine the appropriate venue and security review path. The operational requirements can be developed separately if needed. No adoption or endorsement is asserted. OPC UA protocol conformance and permanent identifiers remain subject to Section 21 and OPC Foundation coordination. IOTOPS discussion does not transfer that authority. Extensions to existing IETF enrollment or management work belong in their responsible working groups. This document uses deployment-provided trust and management without claiming a defined integration with any particular enrollment or network-access mechanism. Liu, et al. Expires 28 May 2027 [Page 8] Internet-Draft IoT PQ OPC UA Operations November 2026 6. Inherited UASC Rules and Private PQC Mapping The OpenSecureChannel clientNonce and serverNonce fields are existing service parameters in OPC UA Part 4 [OPCUA-Part4]. Their cryptographic interpretation and lengths depend on the SecurityPolicy; they are distinct from the per-chunk AEAD nonce. UASC message framing, SequenceHeader processing and SecurityToken lifecycle are defined by Part 6 [OPCUA-Part6], with SecurityPolicy parameters described in Part 7 [OPCUA-Part7]. These existing fields and mechanisms are retained. For the private identifiers in Section 8, this document explicitly selects legacy sequence-number processing independently of the cryptographic backend. The initial signed OPN uses SequenceNumber 1 in each direction. This selection is a property of this private profile; it MUST NOT be inferred from the use of ML-KEM or from the sequence-number mode of another OPC UA SecurityPolicy. The non- legacy scheme used by ECC policies is not selected by these private identifiers. +================+=========================+=======================+ | Element | Existing UASC mechanism | Private PQC selection | +================+=========================+=======================+ | OPN nonce | clientNonce and | 1184-octet ML-KEM | | fields | serverNonce, with | public key; | | | policy-dependent | 1088-octet ciphertext | | | contents and lengths | plus 96 zero octets | +----------------+-------------------------+-----------------------+ | SequenceHeader | Per-direction sequence, | Legacy mode, initial | | | shared by OPN, MSG and | OPN 1; first | | | CLO; not reset by token | protected chunk | | | renewal | normally 2 | +----------------+-------------------------+-----------------------+ | Key derivation | SecurityPolicy-specific | ML-KEM, the HKDF | | and AEAD | cryptographic | transcript and | | | processing | labels, and the AES- | | | | 256-GCM mapping | | | | specified below | +----------------+-------------------------+-----------------------+ Table 2 Liu, et al. Expires 28 May 2027 [Page 9] Internet-Draft IoT PQ OPC UA Operations November 2026 The ML-KEM encodings, the HKDF construction and the effective counter S = (Q - 2) mod 2^32 are defined for this private PQC mapping; they are not asserted to be universal OPC UA requirements or an allocated OPC Foundation SecurityPolicy. The rollover epoch in Section 15 extends the private AEAD nonce across legacy sequence rollover while retaining the UASC sequence-field encoding. The epoch is local channel state and is not an added wire field. 7. Threat Model and Design Goals The adversary is assumed to control or observe the network between UASC peers, inject, delete, replay, delay, reorder, and modify messages, and record traffic for later cryptanalysis. The adversary can submit malformed public keys, ciphertexts, signatures, certificates, and message headers. The adversary is not assumed to have extracted an endpoint's private ML-KEM or ML-DSA key, compromised the certificate trust anchor, or obtained an implementation's protected signing-service authorization token. The profile has the following goals: * Provide a post-quantum key-establishment path for the SecureChannel symmetric keys. * Authenticate OPN messages with a post-quantum signature and bind the signature key to the application certificate and configured peer identity. * Provide confidentiality and integrity for MSG and CLO traffic with an AEAD construction. * Preserve UASC SecurityToken rollover, chunking, and sequence- number processing. * Make algorithm identifiers, byte ordering, key labels, and authenticated data explicit enough for independent implementations. The profile does not claim protection against endpoint compromise, denial of service, traffic analysis, implementation side channels, weak random-number generators, or a compromised certificate authority. Those risks require deployment and implementation controls in addition to this profile. Liu, et al. Expires 28 May 2027 [Page 10] Internet-Draft IoT PQ OPC UA Operations November 2026 8. Profile Identification and Algorithm Suites A peer selects this profile using the SecurityPolicy identifier advertised by the OPC UA endpoint. The following provisional identifiers are restricted to explicitly configured development deployments. This document does not register the urn:open62541-pqc namespace or assign permanent OPC UA identifiers: +========================+===========+===============+============+ | SecurityPolicy | Signature | Key | Message | | identifier | algorithm | establishment | protection | +========================+===========+===============+============+ | urn:open62541- | ML-DSA-44 | ML-KEM-768 | AES- | | pqc:SecurityPolicy#ML- | | | 256-GCM | | KEM-768-ML-DSA-44-AES- | | | | | 256-GCM-Rollover-v2 | | | | +------------------------+-----------+---------------+------------+ | urn:open62541- | ML-DSA-65 | ML-KEM-768 | AES- | | pqc:SecurityPolicy#ML- | | | 256-GCM | | KEM-768-ML-DSA-65-AES- | | | | | 256-GCM-Rollover-v2 | | | | +------------------------+-----------+---------------+------------+ | urn:open62541- | ML-DSA-87 | ML-KEM-768 | AES- | | pqc:SecurityPolicy#ML- | | | 256-GCM | | KEM-768-ML-DSA-87-AES- | | | | | 256-GCM-Rollover-v2 | | | | +------------------------+-----------+---------------+------------+ Table 3 All three variants use the same key-establishment, key-derivation, nonce, and AEAD rules. Only the ML-DSA parameter set and the resulting signature and public-key lengths differ. An endpoint MUST select exactly one variant for a SecureChannel. A peer MUST reject an endpoint that changes the variant after the SecureChannel has been opened. The mandatory-to-implement suite is ML-KEM-768 with ML-DSA-65, HKDF- SHA-256, and AES-256-GCM. Implementations MAY additionally support ML-DSA-44 and ML-DSA-87. Support for a suite does not authorize its use for a peer: endpoint selection and authenticated local policy MUST agree on the suite, the application identity, and the verification key. A mismatch MUST fail without silent fallback. The provisional algorithm identifiers for this draft are: * urn:open62541-pqc:ML-DSA-44, urn:open62541-pqc:ML-DSA-65, or urn:open62541-pqc:ML-DSA-87 for OPN signatures. Liu, et al. Expires 28 May 2027 [Page 11] Internet-Draft IoT PQ OPC UA Operations November 2026 * urn:open62541-pqc:OPN-SignedOnly for the OPN asymmetric-encryption operation. * urn:open62541-pqc:AES-256-GCM-Tag for the symmetric authentication tag operation. * urn:open62541-pqc:AES-256-GCM for symmetric encryption and decryption. These identifiers have no IANA or OPC Foundation allocation asserted by this draft. Permanent identifiers and their publication authority remain to be agreed as described in Section 21. An identifier change MUST NOT silently change the associated algorithm, signature input, key derivation, or wire encoding. 9. Rollover-Capable Private Profile Version The identifiers ending in -Rollover-v2 select the epoch-aware nonce construction and v2 HKDF labels in this document. Both peers MUST select that exact identifier. Implementations MUST NOT alias an earlier identifier without this suffix to the v2 profile, or silently fall back to an earlier mapping. These are private profile versions, not OPC Foundation allocations. 10. SecureChannel Key Establishment The profile maps ML-KEM to the two existing SecureChannel nonce fields exchanged in the OPN request and response. Both fields have a wire length of 1184 octets in this private mapping. The client generates an ML-KEM-768 key pair and sends the public key as the client SecureChannel nonce. The server encapsulates to that public key and sends the resulting ciphertext followed by 96 zero octets as the server SecureChannel nonce. The peer MUST verify the exact field lengths before invoking the KEM operation. Liu, et al. Expires 28 May 2027 [Page 12] Internet-Draft IoT PQ OPC UA Operations November 2026 +============================+============================+========+ | Value | Encoding | Length | +============================+============================+========+ | Client SecureChannel nonce | ML-KEM-768 public key, | 1184 | | | opaque octets | octets | +----------------------------+----------------------------+--------+ | Server SecureChannel nonce | ML-KEM-768 ciphertext | 1184 | | | followed by 96 zero octets | octets | +----------------------------+----------------------------+--------+ | ML-KEM ciphertext | First 1088 octets of the | 1088 | | | server nonce | octets | +----------------------------+----------------------------+--------+ | ML-KEM shared secret | ML-KEM output, kept | 32 | | | internal | octets | +----------------------------+----------------------------+--------+ Table 4 For a client-generated public key PK, a server computes (CT, SS) = Encaps(PK) and constructs SN = CT || Z96, where Z96 is exactly 96 zero octets. The client passes only SN[0..1087] to SS = Decaps(SK, CT). The tail is part of the nonce field, not part of the ML-KEM ciphertext. A KEM failure, a length mismatch, or a decapsulation failure MUST abort the SecureChannel without exposing a distinguishable oracle to an unauthenticated peer. The server MUST generate the zero tail. A receiver uses the complete received 1184-octet server field in the transcript without removing or normalizing that tail. This profile does not require a separate check that the received tail consists of zero octets; it authenticates the complete field as specified in Section 12 and includes it in key derivation as specified in Section 11. Both nonce fields MUST be hashed exactly as transmitted, including all leading and trailing zero octets. Implementations MUST NOT parse, normalize, compress, or concatenate them using a text encoding. The KEM operation is performed within the OPN exchange already defined by UASC. No additional UASC message type is introduced. The 1184-octet field lengths and the KEM representation are choices of this private PQC SecurityPolicy, not a change to the nonce lengths of other OPC UA policies. A peer that does not understand the profile MUST fail closed during endpoint or SecureChannel negotiation. Liu, et al. Expires 28 May 2027 [Page 13] Internet-Draft IoT PQ OPC UA Operations November 2026 11. Key Schedule The profile derives one client-to-server and one server-to-client key and initialization vector from the ML-KEM shared secret. Let CN be the complete 1184-octet client nonce, SN be the complete 1184-octet server nonce including its 96-octet tail, and SS be the 32-octet ML- KEM shared secret. First compute: salt = SHA-256(CN || SN) where || denotes octet-string concatenation and the client value precedes the server value regardless of which peer performs the computation. The hash input is 2368 octets; hashing only the 1088-octet ciphertext in place of the complete server field produces a different key schedule and is incompatible with this mapping. Then, for each direction, apply HKDF-SHA-256 [RFC5869] with: * HKDF-Extract salt: salt. * HKDF-Extract input keying material: SS. * HKDF-Expand info for client-to-server: the ASCII octets of open62541-private-PQC-UASC-v2/c2s. * HKDF-Expand info for server-to-client: the ASCII octets of open62541-private-PQC-UASC-v2/s2c. * HKDF-Expand length: 44 octets. For a direction-specific output OKM, the first 32 octets are the AES- 256-GCM key and the final 12 octets are the base initialization vector: key = OKM[0..31] base-iv = OKM[32..43] The client uses the c2s material for locally generated MSG and CLO chunks and the s2c material for received chunks. The server uses the inverse mapping. Direction labels are part of the transcript domain separation and MUST be compared as exact ASCII octets. The HKDF labels above are exact ASCII protocol constants for this draft, with no trailing zero octet. A revision that changes a label or the key schedule MUST use a distinct profile identifier and specify the resulting compatibility and migration rules. Liu, et al. Expires 28 May 2027 [Page 14] Internet-Draft IoT PQ OPC UA Operations November 2026 12. OPN Signature Processing OPN messages use the UASC asymmetric signing structure defined by OPC UA Part 6, with the selected ML-DSA parameter set. For the private profile identifiers in Section 8, the signing input begins at the first MessageType octet and contains the complete serialized message header, SecureChannelId, AsymmetricAlgorithmSecurityHeader, SequenceHeader, encoded OPN service body and OPN padding through the padding-size octet. It excludes the final ML-DSA signature itself. MessageSize is encoded with its final value including that signature. The signed-only OPN mapping uses a one-octet block size, no extra padding-size octet and a zero-valued padding-size octet; that final zero octet is included in the signature input. The signer and verifier MUST use these transmitted bytes without adding a text prefix, re-encoding fields or changing UASC byte order. The same signing-input boundaries apply to the initial request, initial response and renewal messages. This private mapping does not use OPC UA SecureChannelEnhancements: the initial response does not append the initial request signature to its signing input and does not establish an enhanced ChannelThumbprint. An implementation MUST NOT silently enable that alternate transcript under the same profile identifier. A future enhanced mapping would require a separately identified and reviewed profile. Each OPN signature authenticates the nonce and identity-related header fields present in its own message; it MUST NOT be described as a signature over the concatenation of both OPN messages. Key-possession evidence is described in Section 16. Signatures use ML-DSA as specified in FIPS 204 [FIPS204] with an empty context string. HashML-DSA, an implementation-specific prehash, and a nonempty context are not interchangeable with this operation. The public-key and signature lengths for ML-DSA-44, ML- DSA-65, and ML-DSA-87 are respectively 1312 and 2420, 1952 and 3309, and 2592 and 4627 octets. This profile defines OPN as signed-only. The asymmetric-encryption operation is therefore a no-op for the OPN payload, while the ML-DSA signature authenticates the OPN signing input. OPN confidentiality is not provided by this profile; confidentiality begins with the symmetric MSG and CLO path after the SecureChannel keys have been derived. Implementations and user interfaces MUST NOT describe this signed-only OPN behavior as full OPN encryption. The ML-DSA public key used for verification MUST be bound to the authenticated application identity. At minimum, the verifier MUST check: Liu, et al. Expires 28 May 2027 [Page 15] Internet-Draft IoT PQ OPC UA Operations November 2026 * the peer certificate chain and validity period according to the deployment trust policy; * the OPC UA ApplicationUri and certificate URI SAN binding; * the configured ML-DSA public-key binding for the peer; and * the selected ML-DSA parameter set and exact public-key length. A successful X.509 path check alone MUST NOT authorize an unrelated ML-DSA public key. Conversely, a matching ML-DSA key pin MUST NOT replace certificate validity, application identity, or authorization checks. 13. MSG and CLO Authenticated Encryption MSG and CLO chunks use AES-256-GCM [RFC5116] with a 32-octet direction key, a 12-octet nonce, a 16-octet authentication tag, and no padding introduced by this profile. Each protected chunk is subject to the size, invocation, and cumulative processing limits in Section 14. The UASC message and symmetric security headers are left in cleartext as required for routing and token selection. The sequence header and payload are included in the encrypted portion. The additional authenticated data (AAD) is the first 16 octets of the chunk: the three-octet MessageType, one-octet ChunkType, four-octet MessageSize, four-octet SecureChannelId, and four-octet SecurityToken identifier, in that order. Each integer uses the UASC little-endian encoding. MessageSize counts the complete chunk, including the headers, ciphertext, and 16-octet tag. The AAD MUST be taken from the exact transmitted or received octets. In particular, SecureChannelId MUST NOT be omitted. The plaintext is the eight-octet SequenceHeader (SequenceNumber followed by RequestId, each a little-endian UInt32) followed by the chunk body. Let Q be that SequenceNumber and E the direction's rollover epoch defined in Section 15. Define S = (Q - 2) mod 2^32. The initial OPN is signed-only and uses Q = 1, E = 0; the first protected chunk normally uses Q = 2, S = 0, E = 0. A protected Q = 1 is permitted only after a rollover, with E > 0 and S = 0xffffffff. No additional counter or epoch is serialized. Let IV be the direction-specific base IV and T the SecurityToken identifier from the chunk. The profile constructs the 12-octet GCM nonce as follows: N[0..11] = IV Liu, et al. Expires 28 May 2027 [Page 16] Internet-Draft IoT PQ OPC UA Operations November 2026 N[0..3] = N[0..3] XOR LE32(T) N[4..7] = N[4..7] XOR LE32(S) N[8..11] = N[8..11] XOR LE32(E) Here LE32 is the four-octet little-endian encoding and XOR is bytewise. For an all-zero IV and token 0x01020304, Q = 2, E = 0 gives nonce 040302010000000000000000, and Q = 3, E = 0 gives 040302010100000000000000. After the first rollover, Q = 1, E = 1 gives 04030201ffffffff01000000, followed by 040302010000000001000000 for Q = 2, E = 1. These are hexadecimal octet strings. The sender and receiver MUST use this exact calculation for every protected chunk. For a fixed direction key, IV and token, distinct accepted pairs (E, Q) produce distinct nonces. Signed OPN messages also consume sequence numbers, so protected chunks may skip an effective counter without reusing one. A token renewal MUST NOT reset the channel's epoch. The ciphertext and tag are serialized as the ciphertext followed immediately by the 16-octet GCM tag. A receiver MUST verify the tag before releasing any decrypted octets to the UASC message decoder or application. Authentication failure, an invalid token, an invalid sequence transition, or a nonce reuse condition MUST terminate the affected SecureChannel. 14. AES-GCM Usage Limits and Key Renewal This section defines conservative usage limits for this post-quantum profile. They supplement the UASC SecurityToken lifecycle and nonce rules; they are not asserted to be limits already specified for all OPC UA SecurityPolicies. Chunk size, per-key processing budgets, and token validity MUST all be enforced. Satisfying one limit MUST NOT exempt an endpoint from another. 14.1. Protected Chunk Size and Processing Budgets A protected MSG or CLO chunk MUST NOT exceed 65536 octets (64 KiB), including its 16-octet cleartext headers, ciphertext, and 16-octet GCM tag. The sender MUST also respect any smaller transport buffer limit. Endpoints MUST configure the existing UASC transport buffer negotiation accordingly, and receivers MUST reject an oversized protected chunk before AEAD processing. Larger service messages use existing UASC chunking where permitted; the complete-message and reassembly limits remain applicable. This size limit does not apply to signed-only OPN chunks. Liu, et al. Expires 28 May 2027 [Page 17] Internet-Draft IoT PQ OPC UA Operations November 2026 For each direction-specific traffic key, let q be the number of AEAD encryption invocations charged to that key, and B the cumulative processing budget charged to those invocations. Both start at zero for a fresh key. Each MSG or CLO chunk, including an intermediate or abort chunk, is charged separately. A complete service message can consume several invocations. Signed-only OPN does not consume this AES-GCM budget. For a chunk, let P be the plaintext length in octets, including the eight-octet SequenceHeader and the chunk body. Ciphertext has the same length. Charge the following number of 16-octet blocks: b = ceil(16 / 16) + ceil(P / 16) + 1 b = ceil(P / 16) + 2 The first term accounts for the fixed 16-octet AAD; the final term accounts for GCM's length-encoding block. Padding to a block boundary is only a counting operation and does not add wire padding. The authentication tag is not an additional GHASH input block. The hard limits for each direction key are: q <= 2^20 = 1048576 B <= 2^32 = 4294967296 blocks The cumulative limit corresponds to 64 GiB of counted blocks, not 64 GiB of application payload. For a 65536-octet chunk, P = 65504 and b = 4096. At that maximum size, 1048576 invocations exactly exhaust the block budget. Smaller chunks are charged using their actual length and remain subject to the independent invocation limit. Before invoking encryption, the sender MUST check that q + 1 <= 2^20 and B + b <= 2^32, and MUST atomically reserve that invocation and its block charge. Concurrent sending paths MUST share the same accounting state. An encryption invocation MUST NOT be refunded because encryption fails, the chunk is discarded, or transport delivery fails. An application retry that requires new AEAD protection consumes a new invocation and a fresh sequence/nonce pair. TCP retransmission of already protected octets does not invoke AEAD again. Liu, et al. Expires 28 May 2027 [Page 18] Internet-Draft IoT PQ OPC UA Operations November 2026 A receiver MUST maintain corresponding successful-decryption counts and block charges for each direction key, checking the prospective limits before decryption and committing them only after tag and sequence validation. The chunk length supplies the proposed block charge. Authentication failure terminates the SecureChannel under Section 13; implementations MUST NOT continue trying tags under the same channel. A chunk that would exceed either receive limit MUST be rejected without application delivery. 14.2. Accounting Across Tokens and Channel State Budgets attach to the actual traffic key, not solely to a TokenId or to a currently installed key slot. Client-to-server and server-to- client keys have separate budgets. During token overlap, each old and new key retains its own cumulative accounting. Temporarily selecting or reinstalling an old key MUST restore its existing accounting state rather than initialize a new budget. Changing TokenId, IV, sequence number, or rollover epoch MUST NOT reset a key's usage budget. A new budget is available only for a fresh traffic key derived from the new ML-KEM exchange required by Section 15. An endpoint MUST NOT evade a limit by reinstalling or relabelling the same key. Traffic keys MUST NOT be shared between channel directions, different SecureChannels, or other cryptographic purposes. Fresh traffic keys start new usage budgets, but token renewal MUST NOT reset the channel's sequence numbers or rollover epochs. Conversely, sequence rollover does not replenish a key's budget. On restart or loss of accounting state, an endpoint MUST NOT resume use of retained traffic keys; it MUST establish a new SecureChannel with fresh key material. The nonce, replay, and epoch-exhaustion requirements in Section 15 remain independently applicable. 14.3. Early Renewal and Exhaustion Handling Deployments SHOULD use a default requested SecurityToken lifetime of 600000 milliseconds (10 minutes), while respecting the negotiated revised lifetime and the UASC validity and overlap rules. This is a deployment default, not an extension of any token's validity. Operators MAY select a different lifetime when justified by deployment requirements. No selected lifetime permits a key to exceed either processing budget. The client SHOULD initiate OpenSecureChannel Renew no later than the first of: either direction reaches q = 786432 invocations (75 percent of the invocation budget); either direction reaches B = 3221225472 blocks (75 percent of the block budget); or 75 percent of the Liu, et al. Expires 28 May 2027 [Page 19] Internet-Draft IoT PQ OPC UA Operations November 2026 negotiated token lifetime has elapsed. These are early-renewal triggers, not additional allowances. The client MUST monitor both its outgoing usage and the incoming usage it verifies. A newly installed key's usage starts at zero; reinstalling a key does not restart its timer or counters. Renewal scheduling MUST leave sufficient budget and time for peak traffic, in-flight chunks, the authenticated renewal exchange, and token activation. An endpoint MUST account for a prospective chunk's charge, rather than wait until a large chunk crosses a trigger. Deployments SHOULD renew earlier or limit traffic when a 25 percent reserve is insufficient. Before starting a multi-chunk message, a sender SHOULD ensure that sufficient budget is available or complete renewal first. The client uses the existing Renew service; this profile defines no unsolicited server renewal request or new wire signal. The renewed token MUST use a fresh client ML-KEM key pair and fresh server encapsulation, as required by Section 15. Merely requesting or receiving a new token does not authorize resetting an old key's budget. Traffic MUST use the correct key and accounting state for its selected token throughout the activation and overlap behavior in Section 16. Token overlap MUST NOT extend an exhausted key's budget or permit acceptance of an otherwise expired token. Once either hard limit has been reached, no further chunk may be encrypted under that key. A sender MAY wait for an already progressing renewal only while all applicable token and channel rules remain satisfied, and MUST NOT queue unlimited traffic. If fresh-key activation cannot complete within a bounded local deadline, the endpoint MUST terminate the SecureChannel and require a fresh establishment. It MUST NOT send a final CLO or other protected notification using an exhausted key; transport closure is used when necessary. A receiver MUST NOT accept an over-budget chunk. Authentication failure, a nonce-reuse condition, or exhausted epoch state still requires the channel termination specified elsewhere in this document. 14.4. Basis and Security Scope Section 5.5 of [RFC8446] illustrates the need to update AES-GCM keys before usage limits are reached. Appendix B.1 of [RFC9001] gives a usage analysis for AES-GCM with unique nonces and full-length tags, including a 2^23-packet confidentiality limit when packets can be as large as 2^16 octets. This profile adopts the smaller 2^20 invocation cap, the 64 KiB chunk bound, and explicit block accounting. It does not import TLS record sizes, QUIC packet processing, or their key-update protocols into UASC. Liu, et al. Expires 28 May 2027 [Page 20] Internet-Draft IoT PQ OPC UA Operations November 2026 The cited bounds assume the stated cryptographic model and nonce uniqueness. They do not establish a complete security proof for this profile, quantum security bounds for GCM, or a fleet-wide bound across all users and keys. This profile retains immediate channel termination on an authentication failure, rather than allowing the repeated failed-verification window used by datagram protocols. Security review needs to assess the complete transcript, nonce mapping, key lifecycle, and aggregate deployment exposure in addition to these per-key limits. 15. Sequence Numbers, Replay, and SecurityToken Rollover The UASC SequenceHeader and per-direction sequence processing are inherited from OPC UA Part 6 [OPCUA-Part6]. This private profile selects legacy sequence numbering with initial OPN 1. To make receiver prediction exact, it specifies the canonical sequence 1, 2, ..., R, 1, 2, ..., where R = 4294966271. The transition from R to 1 is within the legacy rollover window; the profile does not select the non-legacy ECC scheme. The canonical restart at 1 is required for this private mapping. Each direction maintains a 32-bit rollover epoch E, initially zero, on the SecureChannel. Every OPN, MSG and CLO chunk in that direction consumes the next sequence number. On the transition from R to 1, the sender increments E before protecting or signing the chunk. Token renewal, installation of new traffic keys and an OPN exchange MUST NOT reset the sequence or epoch. RequestId remains independent. A receiver initializes its last accepted sequence L = 1 and epoch E = 0 after verifying the initial OPN. For an MSG or CLO, if L < R, it predicts Q = L + 1 with the current epoch. If L = R, it predicts Q = 1 and candidate epoch E + 1. It computes the nonce using the candidate pair, verifies the GCM tag, and checks that the decrypted SequenceNumber equals the predicted value. Only after all checks succeed may it commit the sequence and epoch and release the chunk. A failure MUST NOT advance the accepted epoch. A subsequent signed OPN MUST pass signature verification and the same successor or canonical rollover check before advancing the receive sequence and epoch. This covers rollover inside an OPN renewal as well as rollover between protected chunks. Receivers MUST reject duplicates, gaps, unexpected restart values and out-of-order chunks. Implementations MUST NOT search multiple candidate epochs or reset state in response to authentication failure. During SecurityToken rollover, a peer MAY receive a message protected under the previous token while the new token is already locally installed, as permitted by UASC. The receiver MUST select the Liu, et al. Expires 28 May 2027 [Page 21] Internet-Draft IoT PQ OPC UA Operations November 2026 SecurityToken identifier from the chunk's cleartext symmetric security header when selecting the direction key and computing the nonce. It MUST NOT blindly use only the newest locally stored token. Old-token and new-token traffic share the channel's sequence and epoch in the same direction. Each token MUST identify the direction keys and base IVs derived for its corresponding authenticated OPN exchange. Every renewal MUST use a fresh client ML-KEM key pair and fresh server encapsulation. Previous-token keys MAY be retained only for the validity overlap allowed by UASC and MUST be removed when that token expires. An unknown or expired token MUST be rejected before application delivery. A peer MUST reject a transition that would increment E beyond 0xffffffff, before sending or accepting the affected chunk, including a signed OPN. It MUST establish a new SecureChannel with fresh ML- KEM key material to continue. The epoch MUST NOT wrap to zero. A newly established channel starts at epoch zero with fresh keys; restarting a process MUST NOT restore old traffic keys while discarding their sequence or epoch state. The quantitative per-key GCM limits in Section 14 apply independently of epoch exhaustion. Chunking does not change the construction. Each chunk is independently authenticated with its own AAD and sequence/epoch pair, including chunks of one message that straddle a rollover. The reassembly layer MUST deliver a complete message only after every chunk has passed authentication and sequence validation. 16. Token Activation and Key Confirmation After verifying the OPN response, the client derives and installs the new sending key for the returned token and may send a protected MSG with that token. During renewal it retains the old receiving key while the server still sends under the previous valid token. The server prepares the new token during OPN processing and normally switches its sending and receiving keys when a message selects that new token, or switches on expiry of the previous token as permitted by UASC. Expiry-driven switching is a local state transition, not evidence that the peer received the OPN response. A receiver MUST authenticate the protected chunk and validate its sequence before accepting the sender's possession of the corresponding direction key or delivering its payload. Selecting a token from the cleartext header or deriving its keys is not key confirmation. A successfully verified client-to-server MSG provides the server with evidence of the client's possession of the derived key; a successfully verified server-to-client MSG provides the client Liu, et al. Expires 28 May 2027 [Page 22] Internet-Draft IoT PQ OPC UA Operations November 2026 with corresponding server evidence. A signed OPN response alone is not evidence that the client has decapsulated the ciphertext. This profile adds no separate key-confirmation message and makes no claim of simultaneous activation at both endpoints. 17. Certificates and Key Binding Deployments MUST use certificates and trust processing compatible with OPC UA Part 6 and the applicable X.509 profile [RFC5280]. The certificate's ApplicationUri and key usage constraints remain authoritative for OPC UA application identity. Implementations MUST support an authenticated, out-of-band binding containing the expected ApplicationUri, peer role, selected ML-DSA parameter set, and exact FIPS 204 public-key octets. The binding MUST be provisioned through an authorized configuration channel, checked together with the X.509 identity, and replaced only through an authorized credential update. A key received in an OPN message or an unverified discovery response MUST NOT create or replace this binding. A separately specified certificate-based binding MAY be supported in addition to this baseline. Its extension syntax, validation, and authorization rules must be defined by that specification; this document does not invent an extension identifier. A key mismatch, expired or revoked binding, or failure of the required certificate checks MUST fail authentication. If authentication depends on a PKI service response, a failed, unavailable, malformed, expired, revoked, or unauthorized response MUST be treated as a failed authentication decision. Private keys, signing-service credentials, and certificate-status tokens MUST be protected as operational secrets. Logging MUST NOT disclose private keys, KEM secret keys, shared secrets, bearer tokens, or complete unredacted certificates when those values are not required for diagnosis. 18. Negotiation, Downgrade, and Failure Handling A client MUST verify that the selected endpoint advertises the requested provisional SecurityPolicy identifier and the required SignAndEncrypt security mode before opening a SecureChannel. A server MUST reject an OPN request whose profile identifier, nonce length, ML-DSA algorithm, or key length is inconsistent with the configured endpoint. Liu, et al. Expires 28 May 2027 [Page 23] Internet-Draft IoT PQ OPC UA Operations November 2026 An implementation supporting both classical and post-quantum policies MUST apply an explicit local policy for algorithm selection. It MUST NOT silently fall back from this profile to a classical policy after a cryptographic failure, an unsupported nonce length, a signature failure, or a certificate-binding failure. Any fallback, if permitted by deployment policy, MUST require a separate endpoint selection or an explicit authenticated configuration decision. Malformed, truncated, overlong, or unexpected nonce fields MUST cause the OPN exchange to fail. KEM, ML-DSA, HKDF, AES-GCM, certificate, and token-processing errors MUST be reported as a generic secure- channel failure to an unauthenticated peer. Detailed diagnostics MAY be logged locally but MUST be access controlled and MUST avoid secret material. 19. Conformance Requirements A conforming implementation: 1. MUST implement exact ML-KEM-768 public-key, ciphertext, and shared-secret lengths. 2. MUST implement ML-DSA-65, MAY additionally implement ML-DSA-44 and ML-DSA-87, and MUST reject parameter-set mismatches. 3. MUST implement the byte-exact nonce, AAD, HKDF, and AES-GCM rules in this document. 4. MUST enforce the protected-chunk size and per-key invocation and block limits in Section 14, retain accounting across token overlap and key reinstallation, and stop using an exhausted key. 5. MUST use a cryptographically secure random generator for ML-KEM key generation and other profile nonces. 6. MUST perform constant-time or library-provided verification operations where required by the selected cryptographic library. 7. MUST reject modified ciphertext, invalid tags, duplicate sequence numbers, invalid tokens, incorrect certificate or ML-DSA key bindings, parameter-set mismatches, and malformed KEM values. Implementations MUST use the algorithm and parameter definitions in NIST FIPS 203 and FIPS 204 [FIPS203][FIPS204]. This requirement does not assert that a particular implementation has obtained cryptographic-module validation. Liu, et al. Expires 28 May 2027 [Page 24] Internet-Draft IoT PQ OPC UA Operations November 2026 20. IANA Considerations This document makes no request of IANA at this stage. In particular, it does not register a URN namespace or assign an OPC UA SecurityPolicy or algorithm identifier. OPC UA identifier coordination is described in Section 21. If an IANA-managed namespace is selected during review, the corresponding registration request must be added to this section before publication. 21. OPC UA Standards and Identifier Coordination Coordination with the OPC Foundation covers permanent SecurityPolicy and algorithm identifiers, their ownership, the signed-only OPN mapping, the applicable OPC UA specification version and enhancements, and the relationship to SecurityPolicy conformance requirements. The private identifiers in Section 8 specify provisional profile selection; they MUST NOT be advertised as officially allocated identifiers. Before publication as a Proposed Standard, this draft needs to document the agreed permanent identifiers or an explicitly accepted identifier scheme, the applicable OPC UA specification changes, and a migration rule from the private identifiers. Peers MUST select the same exact profile identifier. A peer MUST NOT infer compatibility by rewriting or aliasing an unfamiliar identifier. 22. Interoperability and Validation Considerations This section provides guidance for validating the profile, including its UASC mapping, cryptographic processing, and behavior at state transitions. The normative requirements are specified in the preceding sections. 22.1. Cryptographic and Wire-Format Test Vectors A set of complete wire-format test vectors should cover the required ML-KEM-768 and ML-DSA-65 suite and any optional signature parameter sets being evaluated. It should identify the draft revision, profile identifier, and applicable OPC UA specification version. Useful values include serialized initial and renewal OPN messages, exact signature inputs, padded nonce fields, KEM values, shared secret, HKDF inputs and outputs, direction keys and IVs, AAD, plaintext, ciphertext, and tags. Negative cases should cover malformed lengths, modified signature inputs, incorrect application or key bindings, and modification of ciphertext, tags, or AAD. Any included private keys or shared secrets must be clearly designated as public test material and must not be used in operational deployments. Liu, et al. Expires 28 May 2027 [Page 25] Internet-Draft IoT PQ OPC UA Operations November 2026 Primitive-level checks should include ML-KEM encapsulation and decapsulation, ML-DSA verification and rejection, and AES-GCM encryption and decryption, including an empty plaintext. They complement complete OPN and protected-chunk vectors; they do not replace validation of the profile's serialization, transcript, and state rules. 22.2. Sequence State and Key Usage Sequence and epoch state is maintained separately for each channel direction, as specified in Section 15. Sender and receiver use the same current wire SequenceNumber and epoch when constructing an AEAD nonce. Signed OPN consumes sequence state even though it does not use AEAD. Token installation and renewal preserve that state; a fresh channel starts with new keys and initial state. Validation needs to check the epoch mask in the final four nonce octets, rejection before epoch exhaustion, and receive-state commitment only after authentication and sequence validation. It also needs to check the per-key accounting, early renewal, and hard limits in Section 14. Nonce uniqueness, token lifetimes, and processing budgets are independent requirements. 22.3. Protocol Review and Interoperability Coverage Validation should check the padded nonce fields, complete HKDF transcript, legacy sequence selection, epoch-aware nonce, receive prediction, token selection, and exhaustion rules in Section 10, Section 11, Section 13, and Section 15. Cases should cover the initial OPN, first protected MSG, subsequent signed OPN, renewal, previous-token overlap, multi-chunk traffic, duplicates, missing chunks, restart, and channel closure. Rollover cases should cover repeated and independent directional rollovers, signed OPN at and immediately before rollover, chunks of one message on both sides of a rollover, old-token and new-token traffic, replay from a previous epoch, signed sequence gaps, and epoch exhaustion. Tests may initialize sequence state near a boundary, provided the setup is reported and the protocol's authentication, framing, and state-transition checks remain exercised. Expected nonce octets should be checked independently of successful round-trip decryption. Review of the OPN mapping should examine authentication of the client KEM public key and server ciphertext, application and signature-key binding, the unextended response transcript, key confirmation, replay resistance, and downgrade handling. The transcript and activation rules are specified in Section 12 and Section 16. Tests should Liu, et al. Expires 28 May 2027 [Page 26] Internet-Draft IoT PQ OPC UA Operations November 2026 verify that the profile does not select an enhanced OPN transcript under the same identifier. AEAD authentication failure terminates the affected SecureChannel as required by Section 13. Usage-limit tests should cover the 65536-octet protected-chunk boundary, length rounding in block charges, invocation and block exhaustion, early-renewal triggers in both directions, concurrent reservations, encryption or transport failure without refund, receive limits before application delivery, token overlap, repeated key installation, restart, and failed renewal. Counters may be initialized near a boundary if the setup is reported. Tests should verify that no CLO or other chunk is protected using an exhausted key and that renewal does not reset channel sequence or epoch state. Independent interoperability reports should identify the separately developed implementations, draft and OPC UA specification versions, profile identifiers, suite, certificate and ML-DSA binding method, initial exchange, renewal, and failure cases. Agreement between instances of one implementation alone does not establish independent interoperability. 22.4. Deployment Validation Deployment validation should check authorized credential updates, PKI-service failure handling, recovery after restart, resource exhaustion, and the effect of larger OPN messages and signatures. CPU, memory, traffic, and timing measurements should identify the device, industrial network, and workload being evaluated. Evaluation of Section 4 should identify a device cohort, its inventory-to-ApplicationUri and policy bindings, admission evidence, rollout window, and escalation path. Cases should include first admission, credential replacement, early renewal under asymmetric traffic load, failed renewal, configuration restoration without restored traffic state, offline revocation, quarantine, device replacement, and retirement. Operational reports should distinguish channel establishment, protected-message key confirmation, user or application authorization, and continuing service. Useful outcomes include renewal headroom, failed or unknown channels, recovery duration, stale-credential rejection, enforcement against active revoked relationships, service interruption, and the effect of concurrent fleet changes. Such measurements require a stated device and network setup and do not follow from a successful cryptographic round trip. Liu, et al. Expires 28 May 2027 [Page 27] Internet-Draft IoT PQ OPC UA Operations November 2026 23. Security Considerations This document defines a post-quantum cryptographic profile, but the security of a deployment depends on the complete UASC implementation and its operational environment. Security review needs to consider the protocol and its deployment using the guidance in [RFC3552]. ML- KEM-768 and ML-DSA are assumed to provide the security properties documented by their standard specifications. This document does not make an independent security claim about those algorithms or about any particular cryptographic library. The profile currently uses pure ML-KEM and ML-DSA. It does not combine a classical key-establishment secret with the ML-KEM secret. Deployments that require protection if either a classical or post- quantum assumption fails need a separately specified hybrid construction; they MUST NOT infer hybrid security from this profile. OPN is signed-only in this profile. OPN metadata and the OPN payload are therefore not confidential. An observer can learn the existence, timing, and size of the OPN exchange. Deployments requiring OPN confidentiality need a separately reviewed profile that defines and tests an asymmetric encryption or hybrid protection operation. AES-GCM security depends on nonce uniqueness under each key. The token, sequence and epoch masking rules are intended to prevent nonce reuse across protected chunks, but an implementation bug in sequence handling, token rollover, concurrent send paths, or counter wraparound can invalidate this property. Implementations MUST serialize or otherwise coordinate counter allocation, MUST test rollover and restart behavior, and MUST establish a new channel with fresh keys before epoch exhaustion, and MUST enforce the per-key usage limits and fresh-key renewal requirements in Section 14. Certificate trust, ML-DSA key binding, and downgrade protection are part of the authenticated security boundary. Accepting a valid X.509 certificate with an unrelated ML-DSA key, accepting a key solely because it is pinned, or silently selecting a weaker classical policy can defeat the intended authentication or post-quantum property. External signing and certificate-status services create availability and authorization dependencies. Deployments using such services SHOULD bound request time and isolate failures to limit denial-of- service exposure. Service authorization tokens MUST be protected, the service endpoint MUST be authenticated and authorized according to local policy, and a failed required authentication check MUST fail closed. Liu, et al. Expires 28 May 2027 [Page 28] Internet-Draft IoT PQ OPC UA Operations November 2026 Industrial control systems have safety and availability requirements that are not addressed by this profile. Operators SHOULD test failure behavior, certificate renewal, key rollover, endpoint recovery, and resource exhaustion in an isolated environment before enabling the profile on a production control network. Interoperability and validation considerations are discussed in Section 22. The epoch-aware mapping prevents repetition of a direction's sequence mask across supported rollovers; it does not replace the quantitative per-key GCM limits in Section 14. Renewal or closure after a usage limit does not establish whether an earlier control operation executed; application recovery MUST NOT automatically repeat an operation solely because the channel was replaced. The lifecycle procedures in Section 4 depend on trusted inventory and management, current application bindings, and enforcement on existing channels as well as new connections. A restored configuration or a valid channel is not evidence of current ownership or application permission. Restricted recovery access, staged rollout, and protected operational metadata are deployment responsibilities and do not extend UASC protection beyond its terminating applications. 24. References 24.1. Normative References [FIPS203] NIST, N., "Module-Lattice-Based Key-Encapsulation Mechanism Standard", FIPS 203, August 2024, . [FIPS204] NIST, N., "Module-Lattice-Based Digital Signature Standard", FIPS 204, August 2024, . [OPCUA-Part4] OPC Foundation, O., "OPC Unified Architecture Specification, Part 4: Services", 2023, . [OPCUA-Part6] OPC Foundation, O., "OPC Unified Architecture Specification, Part 6: Mappings", 2023, . Liu, et al. Expires 28 May 2027 [Page 29] Internet-Draft IoT PQ OPC UA Operations November 2026 [OPCUA-Part7] OPC Foundation, O., "OPC Unified Architecture Specification, Part 7: Profiles", . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, . [RFC5116] McGrew, D. and D. Viega, "An Interface and Algorithms for Authenticated Encryption", RFC 5116, January 2008, . [RFC5280] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., and R. Housley, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, May 2008, . [RFC5869] Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 5869, May 2010, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, May 2017, . 24.2. Informative References [IOTOPS-CHARTER] Internet Engineering Task Force, "IOT Operations Working Group Charter", Charter charter-ietf-iotops-02, 18 April 2025, . [RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC Text on Security Considerations", BCP 72, RFC 3552, July 2003, . [RFC7228] Bormann, C., Ersue, M., and A. Keranen, "Terminology for Constrained-Node Networks", RFC 7228, DOI 10.17487/RFC7228, May 2014, . [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, August 2018, . Liu, et al. Expires 28 May 2027 [Page 30] Internet-Draft IoT PQ OPC UA Operations November 2026 [RFC8576] Garcia-Morchon, O., Kumar, S., and M. Sethi, "Internet of Things (IoT) Security: State of the Art and Challenges", RFC 8576, DOI 10.17487/RFC8576, April 2019, . [RFC9001] Thomson, M. and S. Turner, "Using TLS to Secure QUIC", RFC 9001, May 2021, . Authors' Addresses Penghui Liu (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: liuph@pcl.ac.cn Rongwei Yang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: yangrw@pcl.ac.cn Yu Zhang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: zhangy08@pcl.ac.cn Xiaoxiong Zhong (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: zhongxx@pcl.ac.cn Liu, et al. Expires 28 May 2027 [Page 31] Internet-Draft IoT PQ OPC UA Operations November 2026 Yanjie Gong (editor) Schneider Electric Building A, No. 6 Wangjing East Road, Chaoyang District Beijing 100102 China Email: garrett.gong@se.com Liu, et al. Expires 28 May 2027 [Page 32]