Answer the question
In order to leave comments, you need to log in
PHP + ECP how to sign a file?
Maybe someone has come across or knows how to sign the uploaded file with the help of the EDS using PHP.
And is it realistic to implement this?
Perhaps the names of some libraries.
You need to upload your EDS to the server, then upload the file that needs to be signed, and actually sign the file. From a security point of view, I understand that it's nonsense, but the customer wants it that way.
Answer the question
In order to leave comments, you need to log in
Russia, Kazakhstan? In any case, you won't be able to do this without a Certification Authority. Contact the SDK developers for libraries, instructions, and more.
If this is an internal thing "for itself" and no legally significant workflow is implied (for example, the RSA algorithm), then php openssl is enough, for some kind of GOST you need a northern CSP that works with php (I tried it with CryptoPro CSP - it works) and openssl
If you are not an employee of an office that will then exploit all this, then in order to develop such things (signing / encryption) you need to license your activities, then certify what you create. Well, yes, if it will serve more than one single person, then transferring the EDS is generally a bad idea. You need to sign in the browser
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question