I just wanted to discuss the details of implementing this feature, and maybe if time allows also implement it.
So by looking at the mutt approach https://gitlab.com/muttmua/mutt/-/wikis/MuttGuide/UseGPG
defining some new config attributes like:
crypt_autosign=true/false crypt_opportunistic_encrypt=true/false crypt_replysign=true/false crypt_replysignencrypted=true/false
and also the commands like:
pgp_decode_command='gpg command ...' pgp_verify_command='gpg command ...' pgp_sign_command='gpg command ...'
but these can have some default values.
then wite the code for some "presend/postsend hook" for these pgp things.
What do you say?