You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter the Validation Code (Press enter when finished): 49... ...26
Program received signal SIGSEGV, Segmentation fault.
The stack trace of this crash is as follows:
#0 0x0000555555582848 in mbedtls_mpi_bitlen (X=0x7fffffffd5a0)
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/deps/RIoT/Simulation/RIoT/Core/RIoTCrypt/bignum.c:422 #1 0x00005555555828b8 in mbedtls_mpi_size (X=0x7fffffffd5a0)
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/deps/RIoT/Simulation/RIoT/Core/RIoTCrypt/bignum.c:435 #2 0x000055555557e972 in RiotCrypt_ExportEccPub (a=0x7fffffffd5a0, b=0x7fffffffd4b0 "h\r", s=0x7fffffffd464)
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/deps/RIoT/Simulation/RIoT/Core/RIoTCrypt/RiotCrypt.c:370 #3 0x0000555555597776 in X509GetAliasCertTBS (Tbs=0x7fffffffd640, TbsData=0x7fffffffd5f0, AliasKeyPub=0x7fffffffd5a0, DevIdKeyPub=0x5555557fa0b0,
Fwid=0x5555557be1c0 <firmware_id> "k鱄\311\067\302\216\022.\356Q+", <incomplete sequence \352\216>, FwidLen=32)
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/deps/RIoT/Simulation/RIoT/Core/RIoTCrypt/x509bldr.c:368 #4 0x000055555557ae12 in hsm_client_riot_create_leaf_cert (handle=0x5555557fa0b0, common_name=0x5555557fe6d0 "49D1962C5A22E3F29B694FBA41B642236C701D11A288D226")
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/adapters/hsm_client_riot.c:823 #5 0x0000555555563367 in ca_root_certificate_info (hsm_handle=0x5555557fa0b0)
at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/tools/dice_device_enrollment/dice_device_enrollment.c:161 #6 0x000055555556345c in main () at /home/nlpaha/azure/azure-iot-sdk-c/provisioning_client/tools/dice_device_enrollment/dice_device_enrollment.c:198
The text was updated successfully, but these errors were encountered:
thanks for reporting this issue. We will investigate in from our side, but just to help us debug it could you run your application (built with debug info) under valgrind?
Valgrind will give us a view of all the memory issues during runtime.
I've build dice_device_enrollment on a Ubuntu 18.04 LTS x86 computer.
OpenSSL version is 1.1.1.
Generating a certificate for individual enrollment is okay, generating a certificate for group enrollment results in a segmentation fault.
The stack trace of this crash is as follows:
The text was updated successfully, but these errors were encountered: