Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

dummy question

 Post Reply Post Reply
Author
Freisinger Arno View Drop Down
Member
Member
Avatar

Joined: 27 Jul 2011
Posts: 40
Post Options Post Options   Quote Freisinger Arno Quote  Post ReplyReply Direct Link To This Post Topic: dummy question
    Posted: 20 Jan 2020 at 6:06pm
hi,

i have s signatur, a public key and the sign algorithmus. 

how can i vailidate the signatur ?

exsample

algorythmus:

ecdsa-plain-SHA384

signatur:

GxaJcoaL+rUVjEfUmV0LsUPpM/FThV43kVmVh8YCUDN7GwJRqXQug6B0h/BFgRnsDF/L62rLNFgV

+Sf8ykzE3U5nzCXB0HPHlDyh9WsEuTNE8ktcCae9YpMidqJnWLkY

public key:

BIgT5/O6q2MNBKerCVR1jiwbTUN5nVSwmrV96qP2oTpgyAD51k/NC93/77v4YxaUtAFeMWfLDhC6

AzqH5l9mjZQnKHVD4ytj4emB6aIjraAFxCD0O8kvafF47xdtgHGi1A==

Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 83
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jan 2020 at 8:58am
Hi, 
To verify a signature, we need the signed text or document, not only the signature.
Best regards,
Marion
Back to Top
Freisinger Arno View Drop Down
Member
Member
Avatar

Joined: 27 Jul 2011
Posts: 40
Post Options Post Options   Quote Freisinger Arno Quote  Post ReplyReply Direct Link To This Post Posted: 23 Jan 2020 at 2:29pm
V0;Kasse 1;Kassenbeleg-V1;Beleg^12.50_2.99_0.00_0.00_0.00^4.99:Bar_10.50:Unbar;19;192;2020-01-23T13:25:09.000Z;2020-01-23T13:25:31.000Z;ecdsa-plain-SHA384;unixTime;eFiM5526PqVBJI8i64suD126xXwH9vGt8dGBNX/MsvXvlBOWNmWmXYNcQAE45P0GNwjQ9h9pbUaQeydY8w3rNgzu6mUlm8MDwAydP2DaVzxoiWCLfMDROBjpTz6qIO/K;BAotg90S0D3h3+7oTFqSwMwidegbd3UN+J5dfwYMEK3JXM3z3AyZziV/ZdnFxAHy4SFVJX2fJfVJpi+hxWs28Yjrc9ugqDhP9D3OdrIDrj0ralUddrH7vR2ZylPUFqpw8w==

The String to verify is:

V0;Kasse 1;Kassenbeleg-V1;Beleg^12.50_2.99_0.00_0.00_0.00^4.99:Bar_10.50:Unbar;19;192;2020-01-23T13:25:09.000Z;2020-01-23T13:25:31.000Z;ecdsa-plain-SHA384;unixTime;

the algorithmus:

ecdsa-plain-SHA384

the signatur is:

eFiM5526PqVBJI8i64suD126xXwH9vGt8dGBNX/MsvXvlBOWNmWmXYNcQAE45P0GNwjQ9h9pbUaQeydY8w3rNgzu6mUlm8MDwAydP2DaVzxoiWCLfMDROBjpTz6qIO/K


the pulic key is:

BAotg90S0D3h3+7oTFqSwMwidegbd3UN+J5dfwYMEK3JXM3z3AyZziV/ZdnFxAHy4SFVJX2fJfVJpi+hxWs28Yjrc9ugqDhP9D3OdrIDrj0ralUddrH7vR2ZylPUFqpw8w==

Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 83
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 23 Jan 2020 at 3:21pm
Hi,
My library reports an error: the public key is not on the curve. So maybe the curve is not the same that I am using or public key formats are different. Is the curve the P-384 one? Where do you obtain this public key? 
Best regards,
Marion
Back to Top
Freisinger Arno View Drop Down
Member
Member
Avatar

Joined: 27 Jul 2011
Posts: 40
Post Options Post Options   Quote Freisinger Arno Quote  Post ReplyReply Direct Link To This Post Posted: 23 Jan 2020 at 9:36pm
the public key and the signatur are base64 strings, i have a external testsoftware and the testsoftware valid the signature positive.

how i can self test the signature with tms components ? who to start ?
Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 83
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jan 2020 at 8:52am
I think that your curve is not supported by our TMS Cryptography Pack.
Best regards,
Marion
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down