D
D
Denis99992021-07-28 18:14:08
PHP
Denis9999, 2021-07-28 18:14:08

Is it possible with php or js to read SIG file data?

Actually, the question is in the title.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
amg0461, 2021-07-28
@Denis9999

Usually, the first line of this sig file (if it is in base64 text format, and not binary, of course) contains information about the encryption algorithm. Find a library for working with this algorithm (at least for js, at least for php) and, if you have a public key, decode this signature without any problems.
I used the libraries openpgp.js and TweetNaCl.js, played a little bit with jsencrypt for the RSA algorithm, no problems, the signature is decoded. For php, too, of course, there are libraries for different algorithms. The main thing is to know the encoding algorithm and have a public key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question