Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

CryptoLib compile error 2 years 4 months ago #17163

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

CryptoLib compile error 2 years 4 months ago #17164

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1114
  • Thank you received: 165
Replace with new fixed version
PilotLogic Core Programmer

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

CryptoLib compile error 2 years 4 months ago #17165

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

CryptoLib compile error 2 years 4 months ago #17166

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1114
  • Thank you received: 165
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

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

Last edit: by Matis A..

CryptoLib compile error 2 years 4 months ago #17167

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
Yes, sir.
Thank you!

We are waiting with anticipation for revision 007860.

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

Last edit: by Forsteri.

CryptoLib compile error 2 years 4 months ago #17168

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1114
  • Thank you received: 165
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:

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

Last edit: by Matis A..

CryptoLib compile error 2 years 4 months ago #17169

  • Forsteri
  • Forsteri's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
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.

  • Page:
  • 1