View Issue Details

IDProjectCategoryView StatusLast Update
0007209Compliance Test Tool (CTT) Unified Architecture5 - General Problempublic2021-09-27 15:31
ReporterMartin Regen Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
OSWindows 
Product Version1.04.09.398 
Fixed in Version1.03.341.399 
Summary0007209: The tool seems to not encrypt when the OPCUA server certificate is build with a key lenght equals to 4096 is used
Description

This issue was reported on github by: GregoireG-C

see also; https://github.com/OPCFoundation/UA-.NETStandard/issues/1491

n CTT, the tests in Security User Name Password failed when I use a certificate with a key lenght of 4096 bits while it works when I use a certificate with a key lenght of 3072 bits. When I watch closely in the CTT debuger, it seems that the CTT is unable to encrypt the message with a key lenght of 4096.

To Reproduce
Steps to reproduce the behavior:
1.Create a certificate with the following settings :

sign Algorythm : sha256RSA
Hach sign algo : sha256
public key lenght 4096 bits
Configure your OPCUA server to use this certificate
Launch the server and launch the conformance unit : Security/Security UserName Password
Check that initialize and 001.js has failed
Expected behavior
The initialize and 001.js succeed

Screenshots

The first screenshot is obtained when using a keyLenght of 4096 while the second one is obtained with a keyLenght of 3072.
You can observe that the data in the debugger is on the first screenshot null and on the second one completed.
UserTokenCERTUA-SRV-CA1
UserTokenCertificatGenere

CTT version : 1.4.9.398

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2021-09-24 11:21

developer   ~0014995

Found an issue with the asymmetric signing for such certificate sizes. Issue has been fixed by returning the proper size.

Paul Hunkar

2021-09-27 15:31

administrator   ~0015021

Review update, agreed to change, closed

Issue History

Date Modified Username Field Change
2021-08-31 08:42 Martin Regen New Issue
2021-08-31 08:42 Martin Regen Status new => assigned
2021-08-31 08:42 Martin Regen Assigned To => Alexander Allmendinger
2021-09-24 11:21 Alexander Allmendinger Status assigned => resolved
2021-09-24 11:21 Alexander Allmendinger Resolution open => fixed
2021-09-24 11:21 Alexander Allmendinger Fixed in Version => 1.03.341.399
2021-09-24 11:21 Alexander Allmendinger Note Added: 0014995
2021-09-27 15:31 Paul Hunkar Status resolved => closed
2021-09-27 15:31 Paul Hunkar Note Added: 0015021