For HLS ECDSA Authorization defined, that CtoS string (transferred in CallingAuthenticationValue of AARQ) have to be 32..64 bytes long.
While Gurux send only 16 bytes.
You are right about this. This is broken and ECDSA authentication is not working at the moment. I'll add this to the worklist. The next release is next week.
It is implemented for the csharp. Get the latest version. Java is released as soon as tests of the new version are over and other programming languages will follow.
Back to top of this thread- CallingAuthentication Value for HighECDSA mechanism have to be 32..64 bytes long.
You can see, that GXDLMSDirector sends only 16 bytes CallingAuthenticationValue.
- Your issue assume 64 bytes challenges. Are you going to implement challenge's length configuration ?
- DLMS assumes the possibility to send in AARQ not only client's title, but also client's certificate in calling-AE-qualifier field. Are you going to implement this feature ?
Now when you said it, there will be ChallengeSize property. If it's zero, the random value is used.
Sending client's public key certificate in calling-AE-qualifier field is now in the testing phase. Because this is optional feature tests are made with all the meters that are supporting ECDSA authentication that we have (not many).
Hi Vitaly,
Hi Vitaly,
You are right about this. This is broken and ECDSA authentication is not working at the moment. I'll add this to the worklist. The next release is next week.
BR,
Mikko
Hi, Mikko
Hi, Mikko
The new revision still send only 16 bytes for CallingAuthenticationValue in HLS ECDSA Authorization.
regards,
Vitaly
Hi,
Hi,
You are right. That is still on test and it's coming in part of the next release.
BR,
Mikko
Hi, Mikko
Hi, Mikko
Are you going to implement HLS ECDSA Authorization for Gurux.DLMS ?
regards,
Vitaly
Hi Vitaly,
Hi Vitaly,
It is implemented for the csharp. Get the latest version. Java is released as soon as tests of the new version are over and other programming languages will follow.
BR,
Mikko
Hi, Mikko
Hi, Mikko
GXDLMSDirector v 8.2.2109.301 includes Gurux.DLMS v 9.0.2.2109.201
Device Settings:
Authentication - HighECDSA
SecuritySuite - Suite1
Security - Authentication
Signing - OnePassDiffleHelman
AARQ message:
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="454D520700000001" />
<SenderACSERequirements Value="1" />
<MechanismName Value="HighECDSA" />
<CallingAuthentication Value="4C5F2A0C5D2C700A12443B2302400471" />
<glo_InitiateRequest Value="110000000001000000065F1F0400001E5DFFFF928CEBEE43CEB94718B87851" />
</AssociationRequest>
Back to top of this thread- CallingAuthentication Value for HighECDSA mechanism have to be 32..64 bytes long.
You can see, that GXDLMSDirector sends only 16 bytes CallingAuthenticationValue.
regards,
Vitaly
Hi Vitaly,
Hi Vitaly,
Thank you for pointing this out and you are right. I have misunderstood what you mean.
I create an issue from this.
http://www.gurux.fi/node/19098
Challenge is now from 32 to 64 bytes when ECDSA authentication is used.
BR,
Mikko
Hi, Mikko
Hi, Mikko
Couple questions about the implementation.
- Your issue assume 64 bytes challenges. Are you going to implement challenge's length configuration ?
- DLMS assumes the possibility to send in AARQ not only client's title, but also client's certificate in calling-AE-qualifier field. Are you going to implement this feature ?
regards,
Vitaly
Hi,
Hi,
Now when you said it, there will be ChallengeSize property. If it's zero, the random value is used.
Sending client's public key certificate in calling-AE-qualifier field is now in the testing phase. Because this is optional feature tests are made with all the meters that are supporting ECDSA authentication that we have (not many).
BR,
Mikko