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

10 months 2 weeks 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

10 months 2 weeks 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

10 months 2 weeks ago

Hi, authentication key is…

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

Image

hxiii

10 months 2 weeks ago

continuous

continuous

Image
  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 06/19/2025 - 09:33
    Gurux.DLMS.Python 1.0.185
  • Wed, 06/18/2025 - 15:11
    Gurux.DLMS.Python 1.0.184
  • Wed, 06/18/2025 - 10:05
    Gurux.DLMS.Python 1.0.183
  • Wed, 06/18/2025 - 09:06
    GXDLMSDirector 9.0.2506.1801
  • Wed, 06/18/2025 - 08:41
    Gurux.DLMS.Net 9.0.2506.1801

New forum topics

  • Unable to read parameter values from Landis+Gyr E550 meter using GXDLMSDirector - NoAccess status
  • data.SetComplete(false); But all data recieved
  • Crash (endless loop)
  • Server is not able to download object list with maxPduSize 64 or 128 (or anything below 156-bytes PDU size)
  • Day profile action item add error (String is not recognized as valid DateTime value)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin