Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5769
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <g.rodola@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:using': 0.04; 'url:bugs': 0.05; 'subject:when': 0.07; 'python': 0.08; '>>>>': 0.09; 'retcode': 0.09; 'subject:broken': 0.09; 'skip:[ 20': 0.12; '"copyright",': 0.16; '"credits"': 0.16; '49,': 0.16; '[errno': 0.16; '[gcc': 0.16; '__init__': 0.16; 'certfile)': 0.16; 'failure.': 0.16; 'ftplib': 0.16; 'keyfile,': 0.16; 'linux2': 0.16; 'msg:': 0.16; 'send:': 0.16; 'starttls': 0.16; 'traceback': 0.16; '(most': 0.16; 'cc:addr:python-list': 0.17; 'url:code': 0.17; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'last):': 0.23; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'url:mailman': 0.26; 'skip:[ 10': 0.26; '---': 0.28; 'message-id:@mail.gmail.com': 0.28; 'skip:" 30': 0.29; 'skip:3 10': 0.29; 'cc:addr:python.org': 0.30; 'url:listinfo': 0.30; "skip:' 10": 0.32; 'from:charset:iso-8859-1': 0.33; 'file': 0.34; 'test': 0.35; 'record': 0.36; '8bit%:5': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'skip:r 30': 0.37; 'skip:e 20': 0.37; 'think': 0.38; 'url:python': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'url:google': 0.38; '8bit%:6': 0.39; 'skip:s 20': 0.39; 'received:209': 0.39; 'more': 0.60; 'your': 0.60; 'url:p': 0.63; 'ready': 0.63; 'alert': 0.65; 'skip:= 30': 0.69 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wxyFSB9yhd22LDHe31UiSb7s91Btl5ibLvTNL46hcsY=; b=pETIsVFUWEXK/Jro2KPDnaYppPs9IfaQGgAoTbd3m7v4xvbONSZHQVWFKO8nwAZIN2 vwcAlMFfWs2IiQSc4LvVX1F9W0wQda4ComgianE9dzDTxkD/1MX3kNzBlaSfoBfwVsnq Jtdcx046mc+W5E5QgHSlYxWRUn5TyZI+kzNFw= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IAAFcXNLCOSXTKf6MiMVw5+ToMz6nLTy7B+XrThyNWljSPlUtz0r3CctdnrRcCf2XQ xjg6pnwWKegv8nL+Y4TuvnkIGVKGmhs2E2eOwNSrgK39RDNfFRNZIWxu6CNSb52s1z2I vH4sEzxBogg6yS1t6lpn/vgTLdzNjepqu1wYE= |
| MIME-Version | 1.0 |
| In-Reply-To | <op.vvm935t89ey1ta@localhost> |
| References | <op.vvm935t89ey1ta@localhost> |
| Date | Thu, 19 May 2011 11:28:48 +0200 |
| Subject | Re: smtplib is broken when using TLS |
| From | Giampaolo Rodolà <g.rodola@gmail.com> |
| To | nirinA raseliarison <nirina.raseliarison@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1789.1305797332.9059.python-list@python.org> (permalink) |
| Lines | 55 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1305797332 news.xs4all.nl 49178 [::ffff:82.94.164.166]:60847 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:5769 |
Show key headers only | View raw
Please file a ticket on: http://bugs.python.org/ Regards, --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ 2011/5/17 nirinA raseliarison <nirina.raseliarison@gmail.com>: > i think this has the same origin as the ftplib test failure. > > Python 3.2.1rc1 (default, May 17 2011, 22:01:34) > [GCC 4.6.0] on linux2 > Type "copyright", "credits" or "license()" for more information. >>>> >>>> ================================ RESTART >>>> ================================ >>>> > > send: 'ehlo [127.0.0.1]\r\n' > reply: b'250-mx.google.com at your service, [41.188.13.184]\r\n' > reply: b'250-SIZE 35882577\r\n' > reply: b'250-8BITMIME\r\n' > reply: b'250-STARTTLS\r\n' > reply: b'250 ENHANCEDSTATUSCODES\r\n' > reply: retcode (250); Msg: b'mx.google.com at your service, > [41.188.13.184]\nSIZE 35882577\n8BITMIME\nSTARTTLS\nENHANCEDSTATUSCODES' > send: 'STARTTLS\r\n' > reply: b'220 2.0.0 Ready to start TLS\r\n' > reply: retcode (220); Msg: b'2.0.0 Ready to start TLS' > Traceback (most recent call last): > File "/root/template_mail_text.py", line 49, in <module> > server.starttls() > File "/usr/local/lib/python3.2/smtplib.py", line 649, in starttls > self.sock = ssl.wrap_socket(self.sock, keyfile, certfile) > File "/usr/local/lib/python3.2/ssl.py", line 509, in wrap_socket > ciphers=ciphers) > File "/usr/local/lib/python3.2/ssl.py", line 266, in __init__ > raise x > File "/usr/local/lib/python3.2/ssl.py", line 262, in __init__ > self.do_handshake() > File "/usr/local/lib/python3.2/ssl.py", line 441, in do_handshake > self._sslobj.do_handshake() > ssl.SSLError: [Errno 1] _ssl.c:392: error:140943FC:SSL > routines:SSL3_READ_BYTES:sslv3 alert bad record mac > > > -- > nirinA > -- > http://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: smtplib is broken when using TLS Giampaolo Rodolà <g.rodola@gmail.com> - 2011-05-19 11:28 +0200
csiph-web