Home GnuPG
Diffusion GpgOL e0ef0249da5f

Add support for S/MIME always trust

Description

Add support for S/MIME always trust

* src/cryptcontroller.cpp (prepare_crypto): Split preperation out of.
(do_crypto): Add force parameter improve error handling.
(start_crypto_overlay, stop_crypto_overlay): Make public.
* src/mail.cpp (do_crypt): Handle repeating a crypto operation with
  force.

This allows users to individually override errors from GPGSM
by using the new --always-trust feature of GPGSM. While this
is not optimal this is often times preferrable over not
beeing able to encrypt a mail at all.

Details

Provenance
aheineckeAuthored on Sep 19 2023, 4:27 PM
Parents
rO0c5dd35d0723: po: Minor spelling fixes for German translation
Branches
Unknown
Tags
Unknown
Tasks
T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST