Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I set compression method as a ZIP by default? #155

Closed
nikTC opened this issue Mar 10, 2022 · 1 comment
Closed

How do I set compression method as a ZIP by default? #155

nikTC opened this issue Mar 10, 2022 · 1 comment

Comments

@nikTC
Copy link

nikTC commented Mar 10, 2022

Hello,
I'm trying to generate a encrypted message for my service provider: where they are able to verify signature but unable to decrypt message payload as the default compression method is set by GPGME is ZLIB and they need it to be ZIP.
please help.

@nikTC nikTC changed the title How do I set compres How do I set compression method as a ZIP by default? Mar 10, 2022
@nikTC
Copy link
Author

nikTC commented Mar 11, 2022

Sorted this with by directly using systems gpg engine

system("gpg --armor --sign --recipient #{my_recipient} --output output-file-path --compression-algo zip --always-trust --encrypt path-to-input-data-file")

please share /add how do we achieve the above implementation via this gem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant