ProtonMail / gopenpgp

A high-level OpenPGP library
https://gopenpgp.org
MIT License
1.04k stars 117 forks source link

keyring_message: introduce EncryptWithOptions #277

Open trishtzy opened 5 months ago

trishtzy commented 5 months ago

Hi there 👋

I'm opening a pull request to introduce the option to specify the compression and cipher type when encrypting message with KeyRing.

I'm open to suggestions to make the solution suitable for this project.

trishtzy commented 5 months ago

Looks like https://github.com/ProtonMail/gopenpgp/pull/258/files#diff-336f30beb99f3f7ba61c0b5aa64a5ffee034e8da58bbe7f8eb3e3fb91e774a0cR5-R8 has implemented configurable compression option