[MacPorts] #61994: msmtp cannot get TLS certificate info
MacPorts
noreply at macports.org
Tue Jan 5 22:33:14 UTC 2021
#61994: msmtp cannot get TLS certificate info
-----------------------------------+--------------------
Reporter: fdik | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: contrib | Version: 2.6.4
Keywords: msmtp tls certificate | Port: msmtp
-----------------------------------+--------------------
With update to macOS Big Sur msmtp broke when checking server
certificates. Sample:
{{{
% msmtp --serverinfo --host=smtp.gmail.com --tls=on --tls-starttls=on
--tls-certcheck=off --port 587
msmtp: cannot get TLS certificate info: error getting SHA256 fingerprint
}}}
Expected is this (sample from Linux box, formerly the same on macOS with
MacPorts):
{{{
$ msmtp --serverinfo --host=smtp.gmail.com --tls=on --tls-starttls=on
--tls-certcheck=off --port 587
SMTP server at smtp.gmail.com (wq-in-f109.1e100.net [74.125.140.109]),
port 587:
smtp.gmail.com ESMTP g5sm579227wro.60 - gsmtp
TLS session parameters:
(TLS1.3)-(ECDHE-X25519)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM)
TLS certificate information:
Owner:
Common Name: smtp.gmail.com
Organization: Google LLC
Locality: Mountain View
State or Province: California
Country: US
Issuer:
Common Name: GTS CA 1O1
Organization: Google Trust Services
Country: US
Validity:
Activation time: Tue 15 Dec 2020 03:48:07 PM CET
Expiration time: Tue 09 Mar 2021 03:48:06 PM CET
Fingerprints:
SHA256:
EF:2C:8E:10:AE:F0:39:F3:7B:3E:6A:8E:60:0D:20:F2:F6:91:38:59:66:03:DC:FF:52:A2:40:1C:BF:93:CA:20
SHA1 (deprecated):
53:2B:8F:2B:2B:96:87:3E:39:61:7C:EA:A5:4D:9F:9B:B4:6E:62:FE
Capabilities:
SIZE 35882577:
Maximum message size is 35882577 bytes = 34.22 MiB
PIPELINING:
Support for command grouping for faster transmission
STARTTLS:
Support for TLS encryption via the STARTTLS command
AUTH:
Supported authentication methods:
PLAIN LOGIN
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61994>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list