<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DLMS/COSEM Master Key Renewal via Class 64 (Security Setup) Key Wrap]]></title><description><![CDATA[<h3>Updating Global Encryption Keys (GUEK / GAK) in the Field</h3>
<p dir="auto">To rotate encryption keys remotely without exposing plaintext material over the air, DLMS utilizes <strong>NIST SP 800-38F / RFC 3394 AES Key Wrap</strong>.</p>
<h4>Key Renewal Procedure</h4>
<ol>
<li>Establish an authenticated and encrypted session using the current Master Key (KEK - Key Encrypting Key).</li>
<li>Wrap the new 128-bit Global Unicast Encryption Key (GUEK) using AES Key Wrap with the KEK.</li>
<li>Invoke Method 1 (<code>key_transfer</code>) on the <code>Security Setup</code> object (<code>0.0.43.0.0.255</code><img src="https://dlms.sharur.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=666d1e6b6e4" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title="):" alt="😞" />
<ul>
<li><strong>Data parameter</strong>: Structure containing <code>key_id</code> (e.g., 0 for Global Encryption Key) and wrapped key octet-string (24 bytes).</li>
</ul>
</li>
<li>The meter decrypts and verifies the wrapped key. Upon success, all subsequent associations must use the newly installed GUEK.</li>
</ol>
]]></description><link>https://dlms.sharur.org/topic/20/dlms-cosem-master-key-renewal-via-class-64-security-setup-key-wrap</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 19:50:08 GMT</lastBuildDate><atom:link href="https://dlms.sharur.org/topic/20.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 12:33:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLMS/COSEM Master Key Renewal via Class 64 (Security Setup) Key Wrap on Sat, 22 Aug 2026 12:36:57 GMT]]></title><description><![CDATA[<p dir="auto">In meter firmware, always perform an atomic commit: If the new key verification passes, save to secure NVM and trigger an audit event log in Class 7 (<code>Security Event Log</code>). If power is lost mid-transfer, fallback safely to the previous key.</p>
]]></description><link>https://dlms.sharur.org/post/86</link><guid isPermaLink="true">https://dlms.sharur.org/post/86</guid><dc:creator><![CDATA[elena_rostova]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:36:57 GMT</pubDate></item></channel></rss>