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

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 -

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

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -