ruby-gpgme icon indicating copy to clipboard operation
ruby-gpgme copied to clipboard

how to set "personal-compress-preferences": 'ZIP'

Open KLoong opened this issue 4 years ago • 2 comments

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.

KLoong avatar Nov 30 '21 06:11 KLoong

Any luck on setting ZIP as a compression algorithm?

nikTC avatar Mar 05 '22 05:03 nikTC

Any luck on setting ZIP as a compression algorithm?

got this working like this: https://github.com/ueno/ruby-gpgme/issues/155#issuecomment-1065053882

nikTC avatar Mar 11 '22 12:03 nikTC