gnupg - GPG Encryption in a Ruby App -


I would like to encrypt a zip file with a GPG encryption in a Rabbi app.

I have taken a look at the gpgme gem but there is no clear example to encrypt any file in it.

I would like to have a public key to encrypt a file, can you complete it but any thoughts?

Do you have a command line and program GPG ?

If so, you can use only one system call in Ruby.

  system ("gpg --option1 arg1 --option2 arg2")   

or

  system ("gpg "," --option1 ", arg1," --option2 ", arg2)   

Check out.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -