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. Decrypt Failed.Invalid Authentication Tag.

Decrypt failed.Invalid authentication tag.

By hxiii , 6 August, 2024
Forums
DLMSDirector

Hi, the newest director(9.0.2405.2801) keeps reporting error of “Decrypt failed.Invalid authentication tag.”when I use general-signing & gmac. I have checked the authentication tag,and it is correct.
In addition, I test with an older version of director,and it works well.The version maybe 8.2.xxxx.xxxx. Is there some difference between two version?
Looking forward to your earlier reply.

Image

hxiii

1 year 10 months ago

It is the message, 11:14:56…

It is the message,
11:14:56 Read object type Data index: 2
7E A0 87 00 0C 00 07 81 54 E4 C5 E6 E6 00 DF 00 08 43 54 54 30 30 30 30 30 08 56 61 6E 67 6F 33 32 31 00 00 20 C8 1E 31 00 00 00 02 8B C6 D4 63 6F 50 34 D3 6C 3D C7 E3 F2 E8 7C D7 56 EB B0 4D 1F 69 61 49 1F 40 1B 92 15 25 C6 42 69 B3 FE 6B 2B DB 1D F7 F7 CB 0D E2 A2 44 CE B7 BE 5C 97 F6 9F 8E C0 A9 BE 2F 21 4C AC E3 51 B7 41 51 30 0D BF A5 52 99 2E C6 DF 52 F6 28 0A 0B 4A 54 E3 36 9D A6 93 FF 75 98 08 61 7E
11:14:58
7E A0 90 81 00 0C 00 07 74 A3 23 E6 E7 00 DF 00 08 56 61 6E 67 6F 33 32 31 08 43 54 54 30 30 30 30 30 00 00 29 CC 27 31 00 00 00 02 09 D1 DF 71 B1 3F 2C 29 6F D7 8F FE C7 55 4E 56 73 AC 0B 3F 4E C5 5F 0C 47 58 F8 AA AD 6C C5 B4 FC 87 40 96 B4 05 FB 58 47 AC 4D E6 6D A8 CC 6A DF 6F BC D2 DF D3 DC 98 66 96 F4 78 FA 1D 4E 51 A7 F8 88 FB 9C B9 7A 5E 32 95 07 3D C6 FF 5A 3B 32 BA E8 A7 DB 91 40 83 67 33 CF 8E 38 43 BF EE 65 9D 8D 77 46 7E
Gurux.DLMS.GXDLMSCipherException: Decrypt failed. Invalid authentication tag.
在 Gurux.DLMS.Secure.GXGMac.Decrypt(Byte[] data, Byte tag, GXDLMSTranslatorStructure xml)

and I have checked the authentication tag with translator, it is correct.

Image
Profile picture for user Kurumi

Kurumi

1 year 10 months ago

Hi, Version 8.x doesn't…

Hi,

Version 8.x doesn't support General signing. General signing is using ECDSA private and public keys. It also doesn't verify the authentication tag.
There is something wrong in your authentication tag. If you share the authentication and block cipher keys, I can check if I find anything.

BR,
Mikko

hxiii

1 year 10 months ago

Hi, authentication key is…

Hi,
authentication key is 2222222222222223,and block cipher key is 1111111111111112.

Image

hxiii

1 year 10 months ago

continuous

continuous

Image
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin