Question CryptoLib compile error

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 day ago #17163 by Forsteri
CryptoLib compile error was created by Forsteri
Thank you for your assistance.

I have encountered a compile error with CryptoLib.
It is happening on Ubuntu 22.04 LTS on CT7.8 and CT7.9.
Ubuntu 20.04 could not be installed because GLIBC is out of date.

/usr/local/codetyphon/CodeOcean/pl_CryptoLib4Pascal/samples/all_tests/CryptoLib.Tests.ctpr
I just opened and compiled the
It went through on Win64 with no problems.

Sorry for the Japanese, but I am attaching a screen shot of the error.
The following error is shown in English.
ClpECC.pas(45,3) Fatal: ClpValidityPreCompInfo not found, used for ClpECC, incompatible ppu=/usr/local/codetyphon/typhon/components/packages_pl/ pl_CryptoLib4Pascal/lib/x86_64-linux/gtk2/ClpValidityPrecompInfo.ppu, package pl_CryptoLib4Pascal".

Best Regards,
 

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 week 1 day ago #17164 by Matis A.
Replied by Matis A. on topic CryptoLib compile error
Replace with new fixed version

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 day ago #17165 by Forsteri
Replied by Forsteri on topic CryptoLib compile error
Hello.

It seems that there was a fix for Ubuntu 22.04 LTS, so I have brought it up to date.
The CTC update does not seem to be in 7.9, so I have left it as is.

I replaced it with the component you attached and checked first with CT7.8.
The compilation went through and the executable was created successfully.
However, when I ran the test, it hung.
After a while, the debugger gave the attached exception notice.

English.
Project CryptoLib.Tests raised exception class 'EInvalidChipherTextCryptoLibException'. Message: Pad Block Corrupted
Corresponding file 'source/Crypto/Paddings/CLpPaddingModes.pas', line 550

I kept pressing "wait for response" on the executable and eventually the test seems to have completed.

15:51:13 - Running All Tests
16:01:00 - Number of executed tests: 184 Time elapsed: 00:09:46.765

Is there anything else to check?
Would you also try CT7.9?

Best Regards,

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 week 1 day ago - 1 week 1 day ago #17166 by Matis A.
Replied by Matis A. on topic CryptoLib compile error
The test app of pl_CryptoLib4Pascal package don't work correct on some cases,
but I think, this is not a problem.
We will try to fix this,
after the release (I hope today) of new LAB CT 7.9 revision 007860
 

PilotLogic Core Programmer
Last edit: 1 week 1 day ago by Matis A..

Please Log in or Create an account to join the conversation.

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 day ago - 1 week 1 day ago #17167 by Forsteri
Replied by Forsteri on topic CryptoLib compile error
Yes, sir.
Thank you!

We are waiting with anticipation for revision 007860.
Last edit: 1 week 1 day ago by Forsteri.

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 week 1 day ago - 1 week 1 day ago #17168 by Matis A.
Replied by Matis A. on topic CryptoLib compile error
For your info
In build cycle of new LAB CT release,
we run without debug the test app of pl_CryptoLib4Pascal package
on latest DragonFly OS ver 6.2.2
with MATE desktop and TyphonIDE build for QT5 platform.

Without errors.

Same result and  with TyphonIDE build for GTK2 platform.

 
 

PilotLogic Core Programmer
Attachments:
Last edit: 1 week 1 day ago by Matis A..

Please Log in or Create an account to join the conversation.

  • Forsteri
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 day ago #17169 by Forsteri
Replied by Forsteri on topic CryptoLib compile error
Thank you!
We will upload it as soon as possible.

Thank you for your continued support.

Please Log in or Create an account to join the conversation.