By jjm90 , 3 September, 2020 Forums General discussion Hi, We want to decrypt a message (HLS2) using GuruxDLMSTranslator. We configure the parameters in Ciphering tab, but in messages tab the PDU is enctypted. Could you provide us an example please? See attachment with the screenshot. Thanks in advance. Image Hi, Hi, Ciphering isn't implemented at the moment for Messages translate. Download GXDLMSDirector and use DLMS Translator to decrypt the data. You find it from the Tools menu. BR, Mikko Hi, Hi, Yes, we also tried with GXDLMSDirector but with the same result (see screenshot). Could you provide us an example please? Regards, Jesús Image Hi, Hi, Check your keys. The authentication key, block cipher key, or system title is wrong. When the keys are correct, data can be decrypted. BR, Mikko Hi, Hi, We checked the parameters but now the application shows an error "Invalid System Title". APDU: 0001003000010020D01E300000000480ADB2B25179C688D435863293B8E144FCE364B72B018DFC88 Parameters: Security: AuthenticationEncryption Client System Title: 534C5653453037313837384C Block Cipher Key: 6565736C656B616B67736C3036616263 Authentication Key: 6565736C656B616B67736C3036616263 Dedicated Key: 22AE2799EC6B730516920C49F47F35D5 Invocation Counter: 4 Challenge: 7941693612072C6D064338170F3D0527 Server System Title: 474F453030303030 What could be the problem? Thanks. Hi, Hi, We changed the Client System Title with length 8 and we could translate the message successfully. But we use length 12 for many projects, why is it not a valid input? Thanks. Hi, Hi, The system title length is always 8 bytes. DLMS standard defines it. BR, Mikko You are right, now we can You are right, now we can decrypt any message. Thanks a lot for you great support!!
Hi, Hi, Ciphering isn't implemented at the moment for Messages translate. Download GXDLMSDirector and use DLMS Translator to decrypt the data. You find it from the Tools menu. BR, Mikko
Hi, Hi, Yes, we also tried with GXDLMSDirector but with the same result (see screenshot). Could you provide us an example please? Regards, Jesús Image
Hi, Hi, Check your keys. The authentication key, block cipher key, or system title is wrong. When the keys are correct, data can be decrypted. BR, Mikko
Hi, Hi, We checked the parameters but now the application shows an error "Invalid System Title". APDU: 0001003000010020D01E300000000480ADB2B25179C688D435863293B8E144FCE364B72B018DFC88 Parameters: Security: AuthenticationEncryption Client System Title: 534C5653453037313837384C Block Cipher Key: 6565736C656B616B67736C3036616263 Authentication Key: 6565736C656B616B67736C3036616263 Dedicated Key: 22AE2799EC6B730516920C49F47F35D5 Invocation Counter: 4 Challenge: 7941693612072C6D064338170F3D0527 Server System Title: 474F453030303030 What could be the problem? Thanks.
Hi, Hi, We changed the Client System Title with length 8 and we could translate the message successfully. But we use length 12 for many projects, why is it not a valid input? Thanks.
You are right, now we can You are right, now we can decrypt any message. Thanks a lot for you great support!!
Hi,
Hi,
Ciphering isn't implemented at the moment for Messages translate.
Download GXDLMSDirector and use DLMS Translator to decrypt the data. You find it from the Tools menu.
BR,
Mikko
Hi,
Hi,
Yes, we also tried with GXDLMSDirector but with the same result (see screenshot).
Could you provide us an example please?
Regards,
Jesús
Hi,
Hi,
Check your keys. The authentication key, block cipher key, or system title is wrong.
When the keys are correct, data can be decrypted.
BR,
Mikko
Hi,
Hi,
We checked the parameters but now the application shows an error "Invalid System Title".
APDU:
0001003000010020D01E300000000480ADB2B25179C688D435863293B8E144FCE364B72B018DFC88
Parameters:
Security: AuthenticationEncryption
Client System Title: 534C5653453037313837384C
Block Cipher Key: 6565736C656B616B67736C3036616263
Authentication Key: 6565736C656B616B67736C3036616263
Dedicated Key: 22AE2799EC6B730516920C49F47F35D5
Invocation Counter: 4
Challenge: 7941693612072C6D064338170F3D0527
Server System Title: 474F453030303030
What could be the problem?
Thanks.
Hi,
Hi,
We changed the Client System Title with length 8 and we could translate the message successfully.
But we use length 12 for many projects, why is it not a valid input?
Thanks.
Hi,
Hi,
The system title length is always 8 bytes. DLMS standard defines it.
BR,
Mikko
You are right, now we can
You are right, now we can decrypt any message.
Thanks a lot for you great support!!