Answer the question
In order to leave comments, you need to log in
[Cryptopro] How to check the signature on the server?
Hey Habr!
I'm trying to check the ecp on the server.
/opt/cprocsp/bin/amd64/cryptcp -nochain -vsignf -mroot test.txt
CryptCP 4.0 (c) "Crypto-Pro", 2002-2017.
Command prompt Utility for file signature and encryption.
Certificates found: 3
Folder './':
test.txt... Signature verifying...
Signer: RU, tests, etst, test, test, Максим, m***@****.com
Skipping the signature due to signer certificate is not in certificate criterion.
Error: Signature.
/dailybuildsbranches/CSP_4_0/CSPbuild/CSP/samples/CPCrypt/DSign.cpp:851: 0x200001F9
[ErrorCode: 0x200001f9]
Answer the question
In order to leave comments, you need to log in
Downloaded the javascript.
I excluded the processing of binary data and base64 on the client side (I don’t know who messes up, but I suspect that it’s either for base64, since the hashes on the server and client of the same data are strikingly different, it’s a pity native encoding only works with donkey 10 ...), I give it back with server immediately ready base64 hash.
And, lo and behold, the hurdy-gurdy started up.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question