V
V
Vanes Ri_Lax2020-01-23 13:17:49
ubuntu
Vanes Ri_Lax, 2020-01-23 13:17:49

How to sign a string using cryptcp?

Hello,
I have a computer running Ubuntu OS.
Installed CryptoPRO CSP 5.
I need to sign a string using CSP.
There is an example here: https://ru.stackoverflow.com/questions/1050856/For...
Namely:

cryptcp -signf -dir "/tmp" -der -strict -cert -detached -thumbprint "$thumbprint" -pin "$pin" "/tmp/message"

But it's not entirely clear to me what to insert instead of variables:
$thumbprint
$pin

If someone writes an example of how to do this, I will be very grateful!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Matvey Rumynin, 2021-09-09
@greenkey

If I'm not mistaken,
thumbpint is a fingerprint, it should be in the certificate (public key).
pin - access code to the private key.
It's a little unclear where the indication of the private key is, probably in the form of a container. Or maybe pem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question