I am getting an error when I tried to log in using the Mechanism ID with a Dedicated key.
See the log below. The function of S to C must be encrypted with the Block Cipher key. But it is encrypting using the Dedicated key.
Send AARQ request.
7E A0 7C 03 61 10 AA 6B E6 E6 00 60 6E A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 41 42 43 44 45 46 47 48 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 4E 26 1D 0E 1D 1E 41 6A 05 63 74 23 55 46 3E 4C BE 34 04 32 21 30 30 00 00 00 00 55 B2 74 21 35 43 BF C6 2B 20 31 60 A9 B5 C1 2D 97 3B DF F2 7E 02 AC F1 11 5E 58 F8 AE A7 7A C2 4C D8 23 83 73 70 D6 F0 0D 15 3E 6F 86 7E
7E A0 77 61 03 30 AD 6C E6 E7 00 61 69 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 47 65 6E 75 73 37 00 00 00 00 09 1D 36 48 C3 7E A4 0A 04 08 47 4F 45 00 00 58 1C F1 BE 23 04 21 28 1F 30 00 00 04 88 A9 FA E4 4B 57 40 DB 41 F5 78 B7 CC 15 B4 BE 1B 58 52 F6 40 1C FB C0 6A FB 87 B2 00 7E
Parsing AARE reply succeeded.
Authenticating.
7E A0 3E 03 61 32 7B 46 E6 E6 00 D3 30 30 00 00 00 03 3D B1 8A 0A E9 B1 D9 F4 84 E0 52 ED 90 86 CD 91 A8 19 5C C1 41 58 90 1B 12 04 DC 6B CB B4 F2 FB E9 07 C7 CB 83 5C 41 F5 BD 3C 8D B5 01 7E
7E A0 10 61 03 52 7C E2 E6 E7 00 0E 06 00 06 DD 48 7E
Gurux.DLMS.GXDLMSConfirmedServiceError: ServiceError Write exception. ApplicationReference DecipheringError
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
I don't know your keys, so I can't check this your data but you are using High authentication, not HighGMAC. High authentication don't use Block Cipher or authentication key. You need to use HighGMAC if you want to use keys.
If the dedicated key is used then ded_ messages are used. If the client doesn't send a dedicated key then Glo_ messages are used. Try to send dedicated key for T_APPL_OPEN_1 test and you see that client sends ded_GetRequest, not glo_GetRequest.
Check that you have set Style = SERVICE_DED to the CTI file.
Hi,
Hi,
I don't know your keys, so I can't check this your data but you are using High authentication, not HighGMAC. High authentication don't use Block Cipher or authentication key. You need to use HighGMAC if you want to use keys.
BR,
Mikko
Hi Mikko
Hi Mikko
In Authenticating command tag should be CB instead of D3 and this whole command must encrypted by Block Cipher Key.
Hi,
Hi,
If method is GloMethodRequest (CB), you are communicating using Glo-methods and not Ded-methods.
Your meter doesn't use dedicated key. Clear it.
BR,
Mikko
I tested CTT on the meter, it
I tested CTT on the meter, it also used global Method (CB) in authentication command and used dedicated key after association successfully received.
Gurux, too uses the same method earlier as CTT. I did use the Indian Standard as a manufacturer.
Hi,
Hi,
If the dedicated key is used then ded_ messages are used. If the client doesn't send a dedicated key then Glo_ messages are used. Try to send dedicated key for T_APPL_OPEN_1 test and you see that client sends ded_GetRequest, not glo_GetRequest.
Check that you have set Style = SERVICE_DED to the CTI file.
BR,
Mikko