From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 31 Jul 2015 02:07:38 +0200 Message-ID: From: Ingo Krabbe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a114c7192994ddb051c209bbc Subject: Re: [9fans] Problem with imaps/imap.gmail.com Topicbox-Message-UUID: 64d3dda8-ead9-11e9-9d60-3106f5b1d025 --001a114c7192994ddb051c209bbc Content-Type: text/plain; charset=UTF-8 Great, after patching libsec and reinstall of tlsclient and upas both command work with gmail. Maybe I should run a system update 2015-07-30 22:19 GMT+02:00 David du Colombier <0intro@gmail.com>: > > echo -n 'open /imaps/imap.gmail.com/NAME/INBOX gmail' > /mail/fs/ctl > > echo: write error: imap.gmail.com/imaps:tlsClient: tls: local invalid > > x509/rsa certificate > > It works for me: > > % tlsclient tcp!imap.gmail.com!imaps > * OK Gimap ready for requests from 88.164.189.37 z20mb397773409wjy > > I notice the certificate is signed with SHA-256. > Maybe you're running an older release of 9legacy. > > Please apply this patch and give a try: > > http://9legacy.org/9legacy/patch/libsec-x509-sha256rsa.diff > > -- > David du Colombier > > --001a114c7192994ddb051c209bbc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great, after patching libsec and reinstall of tlsclient an= d upas both command work with gmail.
Maybe I should run a system update=


2015-07-30 22:19 GMT+02:00 David du Colombier &= lt;0intro@gmail.com>:
> echo= -n 'open /imaps/imap.gmail.com/NAME/INBOX gmail' > /= mail/fs/ctl
> echo: write error: imap.gmail.com/imaps:tlsClient: tls= : local invalid
> x509/rsa certificate

It works for me:

% tlsclient tcp!imap.gmail.com!imaps
* OK Gimap ready for requests from 88.164.189.37 z20mb397773409wjy

I notice the certificate is signed with SHA-256.
Maybe you're running an older release of 9legacy.

Please apply this patch and give a try:

http://9legacy.org/9legacy/patch/libsec-x= 509-sha256rsa.diff

--
David du Colombier


--001a114c7192994ddb051c209bbc--