Answer the question
In order to leave comments, you need to log in
Is there a module for NodeJS to work with CryptoPRO CSP?
How to work with CryptoPRO from a node, you need to form a signature under the document. Who faced?
Answer the question
In order to leave comments, you need to log in
Other than an external call, I don't think Node JS will be able to sign files with the Crypto Pro CSP right now.
1) The console utility "cryptcp -signf" just makes a separate signature in the PKCS#7 format. Purchased from Crypto Pro.
2) in Java + Crypto Pro JCP, write a jar with function wrappers
3) in C # under Crypto Pro.NET, again write wrappers and implement them as a rest service or an exe file to call.
4) write in C/C++ the same as in paragraph 3) or dll/so. It's even cheaper, because. no need to buy anything other than CSP. But it's more difficult.
Another idea is to use a version of OpenSSL for Node JS with GOST support and a set of parameters from Crypto Pro. Then Node JS will work natively from the crypto module. You may need to compile Node JS from source.
Haven't I talked you out of using Node JS for your task yet? :)
It is unlikely that my advice is relevant, but this topic often pops up in the search engine, so it can come in handy for someone.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question