Add a config option to sign all messages with Autocrypt header (#3986)

Although it does a little for security, it will help to protect from unwanted server-side
modifications and bugs. And now we have a time to test "multipart/signed" messages compatibility
with other MUAs.
This commit is contained in:
iequidoo
2023-02-18 23:08:10 -03:00
committed by iequidoo
parent 89696582ad
commit d1923d68a5
5 changed files with 154 additions and 2 deletions

View File

@@ -300,6 +300,9 @@ pub enum Config {
/// See `crate::authres::update_authservid_candidates`.
AuthservIdCandidates,
/// Make all outgoing messages with Autocrypt header "multipart/signed".
SignUnencrypted,
/// Let the core save all events to the database.
/// This value is used internally to remember the MsgId of the logging xdc
#[strum(props(default = "0"))]