R
R
Roman Sopov2015-11-25 09:27:35
Node.js
Roman Sopov, 2015-11-25 09:27:35

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

3 answer(s)
@
@retuned, 2016-08-04
_

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.

S
scor2k, 2016-01-25
@scor2k

According to this thread , no.

B
bankir1980, 2021-09-24
@bankir1980

Check out my module implementation on github

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question