Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'mess': 0.09; 'cc:addr:python-list': 0.10; 'thread': 0.10; '"this': 0.13; 'suggest': 0.15; 'encryption': 0.16; 'expert.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interest,': 0.16; 'security?': 0.16; 'sufficient,': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'saying': 0.22; 'of.': 0.22; '2015': 0.23; 'sat,': 0.23; "haven't": 0.24; 'header:In-Reply-To:1': 0.24; 'not,': 0.27; 'talented': 0.27; 'message-id:@mail.gmail.com': 0.28; "i'm": 0.29; 'certainly': 0.31; 'putting': 0.31; 'probably': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'received:google.com': 0.34; 'but': 0.36; 'possible': 0.36; 'subject:: ': 0.37; 'thought': 0.37; 'say': 0.38; 'means': 0.39; 'pm,': 0.39; 'even': 0.61; 'expert': 0.63; 'subject:Data': 0.66; 'verification': 0.73; '*every': 0.84; 'chrisa': 0.84; 'malicious': 0.84; 'to:none': 0.90; 'anywhere,': 0.93; 'serious': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=QY7a6EbYFH/DK6i7+eoBpTG821RsCfaQ33AeqcwIzGE=; b=ps19Ze4Fb+l+efLf122NStvSiyOlfz4j7+57JSoTYJhAEM/rZiBbALvAf7XjNnkTML sZ5AjHEeA+q+io1TazZHldFHa4ECUKUSW6M8/DYtmbV5xQ2CKCAt6IHss/ao4QGCvFX1 3sla1DZgo5QoC1zmz3J4OxzW9EXgjmBi4id1ibX7Skvx0UcUpU2Ws8d+xpLz3VgriQa4 p32xM8xjOxiz3tmVQdXp4L1EBOF1bvVsnjNDKtnWG8M2Pek+cSmgjrdQcGQohmP1xdVy yVIAoxhzyWbEyP5+CE58hSLCgAUrFpQk61RL3Hp7UXI2nh9YG4QkuL161PbkxLKaC77I JJZg== MIME-Version: 1.0 X-Received: by 10.50.2.3 with SMTP id 3mr2872183igq.34.1435395209662; Sat, 27 Jun 2015 01:53:29 -0700 (PDT) In-Reply-To: <558e610f$0$1648$c3e8da3$5496439d@news.astraweb.com> References: <558b7e85$0$1648$c3e8da3$5496439d@news.astraweb.com> <558bc912$0$2899$c3e8da3$76491128@news.astraweb.com> <558c1a7e$0$1668$c3e8da3$5496439d@news.astraweb.com> <558d86b0$0$1659$c3e8da3$5496439d@news.astraweb.com> <558e1ac6$0$1675$c3e8da3$5496439d@news.astraweb.com> <558e610f$0$1648$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 27 Jun 2015 18:53:29 +1000 Subject: Re: Pure Python Data Mangling or Encrypting From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435395217 news.xs4all.nl 2918 [2001:888:2000:d::a6]:46873 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93231 On Sat, Jun 27, 2015 at 6:38 PM, Steven D'Aprano wrote: > I'm not a security expert. I'm not even a talented amateur. *Every time* I > suggest that "X is secure", the security guy at work shoots me down in > flames. But nicely, because I pay his wages Just out of interest, is _anybody_ active in this thread an expert on security? I certainly am not, which means that the proposal I'm currently putting together probably has a whole bunch of vulnerabilities that I haven't thought of. (Though there's no emphasis on encryption anywhere, just signing. I'm *hoping* that RSA public key verification is sufficient, but if it isn't, it would be possible for a malicious user to make a serious mess of stuff.) But I'm under no delusions. I don't say "this is secure" - all I'm saying is "this works in proof-of-concept". ChrisA