ruby-gpgme
ruby-gpgme copied to clipboard
how to set "personal-compress-preferences": 'ZIP'
I want to set "personal-compress-preferences": 'ZIP',but I don't know how to set by use this gem.
crypto = GPGME::Crypto.new :armor => true crypto.encrypt JSON.generate(data),:sign=>true, :signers => "[email protected]", :recipients => "[email protected]", pinentry_mode: GPGME::PINENTRY_MODE_LOOPBACK, password:'xxxxxxx', "personal-compress-preferences": 'ZIP'
I use personal-compress-preferences but it not work.
Any luck on setting ZIP as a compression algorithm?
Any luck on setting ZIP as a compression algorithm?
got this working like this: https://github.com/ueno/ruby-gpgme/issues/155#issuecomment-1065053882