git send-email with ancient SMTP server … dh key too small
- From
Matěj Cepl <mcepl@cepl.eu>
- Date
- Aug 9, 2024, 10:17 UTC
- Message-ID
- <D3BAXOA4NL74.29XYKS0IO8UFC@cepl.eu>
When using git send-email sending to very ancient SMTP server (postfix 2.6.6 on CentOS 6), I get this error:
STARTTLS failed! SSL connect attempt failed error:0A00018A:SSL routines::dh key too small at /usr/libexec/git/git-send-email line 1638.
When looking what seems like a similar error at https://github.com/symfony/symfony/issues/44393 it seems I need to set `security_level` (whatever it is) to 1. Is it possible to do it just with configuration of git or do I need to patch something somewhere?
Thank you for any reply,
Matěj Cepl
-- http://matej.ceplovi.cz/blog/, @mcepl@floss.social GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Opportunity is missed by most people because it is dressed in overalls and looks like work. -- Thomas A. Edison