ProtonMail / gopenpgp

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

No helper.EncryptSignBinaryMessageArmored #213

Open wneessen opened 1 year ago

wneessen commented 1 year ago

I am currently working on a Middleware for encrypting/signing mails with go-mail and was wondering why the helper packages does not provide a EncryptSignBinaryMessageArmored method. Is that intentionally or has it just never been needed? If so, it would be great to have that.

twiss commented 1 year ago

Hey :wave: The helper functions have indeed mostly been added on an as-needed basis, and are intended to cover the most common use-cases, while the lower-level API can cover more uncommon use cases. That being said, we are planning to re-work the API to make the high-level API more composable as well, and support more combinations of operations.