Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

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

1 year 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

11 months 3 weeks 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

11 months 3 weeks 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, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin