D
D
dexdev2015-10-22 11:19:38
Ruby on Rails
dexdev, 2015-10-22 11:19:38

How to sign files in a Ruby on Rails application?

Good afternoon! there is a written application where users exchange files, something like diadoc.contur.ru, the task is to make a signature on GOST SSL certificates, I just don’t understand how to do it. The project is not for Russia Maybe there is someone who has already done this and is ready to take it? Or is there information on how this is done on ROR? Or where can I find a person capable of doing this? fl.ru freelancer.com weblancer.net are silent

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jeiwan, 2015-10-22
@Jeiwan

If not for Russia, then why GOST-certificates?
In general, it doesn’t matter whose certificate, the main thing is to understand the principle of EDS ( https://ru.wikipedia.org/wiki/Electronic_signature ), and then it’s a matter of technology. It’s not difficult to do it in Ruby, you can even google the solution. Here, for example: https://github.com/augustl/ruby-openssl-cheat-shee...
Only the keys should not be generated (as in this example), but read from a file, something like this:OpenSSL::PKey::RSA.new File.read 'rsa.pem'

P
Puma Thailand, 2015-10-22
@opium

just on opensl do either a system call ekzek or through a gem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question