Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'security.': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '(python)': 0.16; 'gmail.': 0.16; 'subject:Password': 0.16; 'tls': 0.16; 'wrote:': 0.17; "shouldn't": 0.17; 'cc:2**0': 0.23; 'monday,': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'plain': 0.27; 'hash': 0.29; 'december': 0.32; 'received:google.com': 0.34; 'server': 0.35; 'robert': 0.35; 'smtp': 0.35; 'text.': 0.35; 'received:209.85': 0.35; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'login': 0.38; 'think': 0.40; 'details': 0.63; 'account': 0.67; 'believe': 0.69; 'montgomery': 0.84 Newsgroups: comp.lang.python Date: Tue, 25 Dec 2012 19:40:20 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.178.208.121; posting-account=uPFZNQoAAAAm9w7z13q1SjWNKNjztdcD References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 122.178.208.121 MIME-Version: 1.0 Subject: Re: Password hash From: Ramchandra Apte To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356493230 news.xs4all.nl 6907 [2001:888:2000:d::a6]:37926 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35510 On Monday, 24 December 2012 08:08:12 UTC+5:30, Robert Montgomery wrote: > I am writing a script that will send an email using an account I set up > > in gmail. It is an smtp server using tls on port 587, and I would like > > to use a password hash in the (python) script for login rather than > > plain text. Is this do-able? Details please. No. The password is encrypted with TLS I think so I believe you shouldn't worry much about security.