<?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[Deciphering General-Signing (0xDF) APDUs with ECDSA in DLMS Security Suite 1]]></title><description><![CDATA[<h3>Digital Signatures for Legal Non-Repudiation in Smart Meter Billing</h3>
<p dir="auto">Under European PTB / BSI TR-03109 regulations, billing measurements must be cryptographically signed by the meter's on-chip private key using <code>General-Signing</code> (<code>0xDF</code>).</p>
<h4>Wire Format (APDU Tag 0xDF)</h4>
<pre><code class="language-hex">DF 08 47 55 52 55 58 31 32 33 00 00 00 1A 21 00 00 00 55 ... 30 44 02 20 ... 02 20 ...
</code></pre>
<h4>Field Breakdown</h4>
<ol>
<li><strong>Tag</strong>: <code>DF</code> (<code>general-signing</code>)</li>
<li><strong>System Title</strong>: 8 bytes (<code>47 55 52 55 58 31 32 33</code>)</li>
<li><strong>Signature Length</strong>: <code>00 00 00 1A</code></li>
<li><strong>Security Control Byte</strong>: <code>21</code> (Signed with Suite 1)</li>
<li><strong>Transaction Counter</strong>: 4 bytes</li>
<li><strong>Signed Plaintext APDU</strong>: Includes meter serial, OBIS code, measurement value, and timestamp.</li>
<li><strong>ECDSA Signature (DER format)</strong>: $R$ and $S$ integers (P-256 curve, 64-72 bytes).</li>
</ol>
<p dir="auto">Anyone (including consumers and third-party auditors) can verify the signature using the meter's publicly certified X.509 root key!</p>
]]></description><link>https://dlms.sharur.org/topic/49/deciphering-general-signing-0xdf-apdus-with-ecdsa-in-dlms-security-suite-1</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 19:54:00 GMT</lastBuildDate><atom:link href="https://dlms.sharur.org/topic/49.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 12:39:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deciphering General-Signing (0xDF) APDUs with ECDSA in DLMS Security Suite 1 on Sat, 22 Aug 2026 12:39:37 GMT]]></title><description><![CDATA[<p dir="auto">Our HES archives the signed 0xDF APDUs in immutable cold storage for 10 years to satisfy fiscal regulatory audit mandates.</p>
]]></description><link>https://dlms.sharur.org/post/127</link><guid isPermaLink="true">https://dlms.sharur.org/post/127</guid><dc:creator><![CDATA[marcus_vance]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:39:37 GMT</pubDate></item><item><title><![CDATA[Reply to Deciphering General-Signing (0xDF) APDUs with ECDSA in DLMS Security Suite 1 on Sat, 22 Aug 2026 12:39:36 GMT]]></title><description><![CDATA[<p dir="auto">In firmware, we generate ECDSA signatures inside a dedicated hardware Secure Element (SE) with side-channel attack countermeasures (DPA/SPA resistance).</p>
]]></description><link>https://dlms.sharur.org/post/126</link><guid isPermaLink="true">https://dlms.sharur.org/post/126</guid><dc:creator><![CDATA[elena_rostova]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:39:36 GMT</pubDate></item></channel></rss>