Xor-el / CryptoLib4Pascal

Crypto for Modern Object Pascal
MIT License
211 stars 65 forks source link

Test Project does compile (Delphi) #34

Closed bnzbnz closed 2 years ago

bnzbnz commented 2 years ago

The Test project does not build, Unit "HlpIHash" is missing (used by ClpIDigest, Delphi 11). Any Help ?

ertankucukoglu commented 2 years ago

Hello,

It does compile just fine.

You need to include all necessary directories in your search path. Either project or Delphi Library Path.

Regards, Ertan

Sent from my iPhone

On 2 Nov 2022, at 07:56, Laurent MEYER @.***> wrote:

 The Test project does not build, Unit "HlpIHash" is missing (used by ClpIDigest). Any Help ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

bnzbnz commented 2 years ago

Ertan,

Would you provide a simple example of signing and verifying with ED25519 : a Key (private) and a payload as input.

I'm willing to pay a fee for that....

Thank you,

Please let me know.

Laurent

From: ertankucukoglu @.> Sent: Wednesday, November 2, 2022 6:06 AM To: Xor-el/CryptoLib4Pascal @.> Cc: Laurent MEYER @.>; Author @.> Subject: Re: [Xor-el/CryptoLib4Pascal] Test Project does compile (Delphi) (Issue #34)

Hello,

It does compile just fine.

You need to include all necessary directories in your search path. Either project or Delphi Library Path.

Regards, Ertan

Sent from my iPhone

On 2 Nov 2022, at 07:56, Laurent MEYER @.***> wrote:

 The Test project does not build, Unit "HlpIHash" is missing (used by ClpIDigest). Any Help ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/Xor-el/CryptoLib4Pascal/issues/34#issuecomment-1299576611 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYQMSSW23MERX3G5VPL6BLWGHZB7ANCNFSM6AAAAAARUWBDM4 . You are receiving this because you authored the thread.Message ID: @.***>

ertankucukoglu commented 2 years ago

Hello,

I'm sure library can do that. Unfortunately I don't know how.

However, you might want to contact with Xor-el as he can help you out.

Regards, Ertan

Sent from my iPhone

On 2 Nov 2022, at 08:14, Laurent MEYER @.***> wrote:

 Ertan,

Would you provide a simple example of signing and verifying with ED25519 :

A Key (private) and a payload as input. If it works I am willing to pay…

Thank you,

Please let me know.

Laurent

From: ertankucukoglu @.> Sent: Wednesday, November 2, 2022 6:06 AM To: Xor-el/CryptoLib4Pascal @.> Cc: Laurent MEYER @.>; Author @.> Subject: Re: [Xor-el/CryptoLib4Pascal] Test Project does compile (Delphi) (Issue #34)

Hello,

It does compile just fine.

You need to include all necessary directories in your search path. Either project or Delphi Library Path.

Regards, Ertan

Sent from my iPhone

On 2 Nov 2022, at 07:56, Laurent MEYER @.***> wrote:

 The Test project does not build, Unit "HlpIHash" is missing (used by ClpIDigest). Any Help ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/Xor-el/CryptoLib4Pascal/issues/34#issuecomment-1299576611 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYQMSSW23MERX3G5VPL6BLWGHZB7ANCNFSM6AAAAAARUWBDM4 . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

bnzbnz commented 2 years ago

Hi,

Any idea to how contact him in private ?

Lo.

ertankucukoglu commented 2 years ago

Hi,

He should see these messages soon and get in touch with you. Just wait a day or two.

Regards, Ertan

Laurent MEYER @.***>, 2 Kas 2022 Çar, 08:34 tarihinde şunu yazdı:

Hi,

Any idea to how contact him in private ?

Lo.

— Reply to this email directly, view it on GitHub https://github.com/Xor-el/CryptoLib4Pascal/issues/34#issuecomment-1299598699, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ6UEFAGT5YRR57RFFUCI3WGH4PPANCNFSM6AAAAAARUWBDM4 . You are receiving this because you commented.Message ID: @.***>

Xor-el commented 2 years ago

Hello @bnzbnz maybe you can provide sample key (public and private) and payload you wish to operate on. You can also do same via mail as I have responded to you there too.

bnzbnz commented 2 years ago

Here you are !

Private:

MC4CAQAwBQYDK2VwBCIEIBL22qIQTR8IhjsW85lc31qzZLDyNtKQClHqiNbRddEy

Public:

MCowBQYDK2VwAyEAqNtjQAGYGyVuhZoADbDu32eKsMk/0IY96RNWIVHhWpk=

Payload:

aaaa

Thank you so much.

From: Ugochukwu Mmaduekwe @.> Sent: Wednesday, November 2, 2022 9:56 AM To: Xor-el/CryptoLib4Pascal @.> Cc: Laurent MEYER @.>; Mention @.> Subject: Re: [Xor-el/CryptoLib4Pascal] Test Project does compile (Delphi) (Issue #34)

Hello @bnzbnz https://github.com/bnzbnz maybe you can provide sample key (public and private) and payload you wish to operate on. You can also do same via mail as I have responded to you there too.

— Reply to this email directly, view it on GitHub https://github.com/Xor-el/CryptoLib4Pascal/issues/34#issuecomment-1299875730 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYQMSXJBULLKL2W22CK2PDWGIUA5ANCNFSM6AAAAAARUWBDM4 . You are receiving this because you were mentioned.Message ID: @.***>

Xor-el commented 2 years ago

@bnzbnz thanks. taking a quick look at the keys you shared, are you sure they are ED25519 RAW Keys? ED25519 Private Raw Keys are 32 bytes in length, yours when I decode the base64 string as bytes is not 32 bytes in length. How did you generate your keys?

bnzbnz commented 2 years ago

It’s also what I saw but

they come directly from ebay, created by eBayR.API.KeyManagement.createSigningKey with a signing cipher = ‘ED25519’ (Edwards Curve).

See Also : https://github.com/openssl/openssl/issues/8960 and https://superuser.com/questions/1700544/extracting-a-public-key-from-an-ed25519-private-key-with-openssl Some Private Keys may content the public they are no 32Bytes...

From: Ugochukwu Mmaduekwe @.> Sent: Wednesday, November 2, 2022 10:21 AM To: Xor-el/CryptoLib4Pascal @.> Cc: Laurent MEYER @.>; Mention @.> Subject: Re: [Xor-el/CryptoLib4Pascal] Test Project does compile (Delphi) (Issue #34)

@bnzbnz https://github.com/bnzbnz thanks. taking a quick look at the keys you shared, are you sure they are ED25519 RAW Keys? ED25519 Private Raw Keys are 32 bytes in length, yours when I decode the base64 string as hex is not 32 bytes in length. How did you generate your keys?

— Reply to this email directly, view it on GitHub https://github.com/Xor-el/CryptoLib4Pascal/issues/34#issuecomment-1299922982 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYQMSWWIKBISJDS5UFQIBLWGIW63ANCNFSM6AAAAAARUWBDM4 . You are receiving this because you were mentioned.Message ID: @.***>