Path: csiph.com!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweak.nl!194.109.133.83.MISMATCH!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; '16,': 0.03; 'anyway.': 0.04; 'cc:addr:python-list': 0.09; 'messing': 0.09; 'subject:python': 0.14; 'wed,': 0.15; 'door,': 0.16; 'door.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stuff.': 0.16; 'wrote:': 0.16; '>>>': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'prevent': 0.20; 'sep': 0.22; 'am,': 0.23; 'code,': 0.23; 'seems': 0.23; 'header :In-Reply-To:1': 0.24; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; 'actual': 0.28; 'code': 0.30; '15,': 0.30; 'probably': 0.31; 'anyone': 0.32; 'anybody': 0.32; 'maybe': 0.33; 'run': 0.33; 'curious': 0.33; 'idle': 0.33; 'lock': 0.33; 'right?': 0.33; 'case,': 0.34; 'tue,': 0.34; 'running': 0.34; 'received:google.com': 0.35; "isn't": 0.35; 'but': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'expect': 0.37; 'front': 0.38; 'means': 0.39; 'sure': 0.39; 'rather': 0.39; 'questions': 0.40; 'protection': 0.60; 'your': 0.60; 'skip:u 10': 0.61; 'more': 0.63; 'capable': 0.65; 'subject:your': 0.75; 'chrisa': 0.84; 'presumably': 0.84; 'to:none': 0.91; 'edwards': 0.91; 'thoroughly': 0.91 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=+ciaAMHeuqIGzzO95YR0RITthFCtMB4amSmF9E36xdI=; b=waqA2oU6/R/7L3zvB4LD/ktx0t2ix0TOJMy3ZzuliCtGCAFjzc3Hqrh1NTJeel+WaN eoBQN/XXzBO484tWM8KDaQ4Rbsnn11xPkgb2f84O+obg2pcCHipJL1ajmDDVQw42waf5 RuxQhK5ZD11oJtMMpTLyDQc13ud87Q/bZQYUmyZQPWc9BqNCXiOeAo+3NXC2ElQy67W4 jtu2yMLnbSKQamwj3/iK829z8CTT4hhigq6pK0HnKIoVJ2UmRoRjnCsEv4uA2XhOLUzr TrzcXK4rETIksuwC9Msf00MnFfDlfI4TN3SnW/BgpVkk0NC5KxqvELYwzuisQJwZgAEP jnAg== MIME-Version: 1.0 X-Received: by 10.107.132.144 with SMTP id o16mr35256266ioi.31.1442334561647; Tue, 15 Sep 2015 09:29:21 -0700 (PDT) In-Reply-To: References: <42f12eba-2504-4a97-a5bc-e7b9bfe2f1f9@googlegroups.com> Date: Wed, 16 Sep 2015 02:29:21 +1000 Subject: Re: Pyarmor, guard your python scripts 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442334569 news.xs4all.nl 23727 [2001:888:2000:d::a6]:36154 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96643 On Wed, Sep 16, 2015 at 2:20 AM, Grant Edwards wrote: > On 2015-09-15, Chris Angelico wrote: >> On Tue, Sep 15, 2015 at 11:16 PM, Grant Edwards wrote: >>> On 2015-09-15, Chris Angelico wrote: >>>> If they can be run as if no protection had been applied, that >>>> presumably means the loader is capable of decrypting them, right? So >>>> what's to stop anyone from reading the loader, using it to decrypt >>>> the actual code, and running it? >>> >>> I rather expect the answer to that questions is "laziness". >>> >>> It's like the lock on my front door. It's not going to stop anybody >>> who really wants to get in, but it will prevent the idle curious from >>> wandering in and messing about with my stuff. >> >> Maybe. It seems more like having a lock on your front door, with the >> key permanently inside it. But maybe that's just me. > > I you may be underestimating the laziness and overestimating the > cleverness of most people. ;) Heh :) But in that case, you can probably get away with just zipimport. Deflation sure isn't encryption, but the code is pretty thoroughly concealed anyway. ChrisA