Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Update High Password - Any Way To Cipher New Password

Update High password - any way to cipher new password

By andre538, 15 July, 2025
Forums
DLMSDirector

Hello Mikko,

Current Association - > General tab ->Update High password results to new password sent in non-ciphered way.

Is there any way to cipher password to be set?

<ActionRequest>
<ActionRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<MethodDescriptor>
<!-- AssociationLogicalName -->
<ClassId Value="000F" />
<!-- 0.0.40.0.0.255 -->
<InstanceId Value="0000280000FF" />
<!-- Change HLS secret -->
<MethodId Value="02" />
</MethodDescriptor>
<MethodInvocationParameters>
<!-- 0000000100000001 -->
<OctetString Value="30303030303030313030303030303031" />
</MethodInvocationParameters>
</ActionRequestNormal>
</ActionRequest>

Best regards, Andrew

Profile picture for user Kurumi

Kurumi

7 months 3 weeks ago

Hi, This sets the password…

Hi,

This sets the password. DLMS meters usually send the password in a non-ciphered format. The connection can be ciphered.

BR,
Mikko

andre538

7 months 1 week ago

Hello Mikko, It was easy…

Hello Mikko,

It was easy enough to implement in my local branch of Director.
I've just added KEK request dialog just after 'Update High password' button pressed.
So now, if KEK entered is not null, password ciphering used in OnUpdatePassword

if( kek_value != null)
value = GXDLMSSecureClient.Encrypt(kek_value, value);

Otherwise (KEK null, cancel is pressed in KEK request dialog) ciphering is not used, as it was before modification (
bb.SetUInt8((byte)value.Length);
bb.Set(value);
arg.Value = bb.Array();.
)

I've taken encrypt string code sample from some of your previous answers at this forum, so thanks anyway !

Best regards, Andrew.

Profile picture for user Kurumi

Kurumi

7 months 1 week ago

Hi Andrew, The password…

Hi Andrew,

The password updating format is not defined in DLMS standards. Most of the meter manufacturers are sending it as plain text. Some meter manufacturers are using different ways to encrypt the data.

I'm glad that you were able to solve this.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 02/19/2026 - 11:51
    gurux.dlms.cpp 9.0.2602.1901
  • Sun, 02/01/2026 - 19:47
    gurux.dlms.cpp 9.0.2602.0101
  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5

New forum topics

  • Clou Meter CL730D22L connection
  • Gurux C library DLMS book edition support
  • Help with connection and read with landis+gyr e650 + CU-E22 using python
  • Preestablished connection
  • RJ11 to RS232 Pin out SECURE Premier 300
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin