Files
aerc-fork-mirror/lib/crypto
Marcin Serwin 066d186dd7 gpg: don't sign with untrusted keys
During encryption gpg was ignoring trust model of the user in favor of
always using the insecure `always`. This change removes this override
and adds a helpful message if a user tries to encrypt a message with
an untrusted key. To revert to the previous behavior users can add
`trust-model always` to their `gpg.conf` file (default
`~/.gnupg/gpg.conf`).

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2024-10-22 15:29:58 -05:00
..
2024-10-22 15:29:58 -05:00
2024-02-14 23:04:38 +01:00
2024-02-14 23:04:38 +01:00