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. 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 5 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 5 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 5 months ago

Hi, authentication key is…

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

Image

hxiii

1 year 5 months ago

continuous

continuous

Image
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87
  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194

New forum topics

  • 6-digit field values from meter not fully received (only 5 digits shown)
  • Gurux DLMS Android App
  • AMR support for bidirectional meters.
  • addition of new object in object list, meter not working
  • old meter take to much time(l&t)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin