Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96799

Re: Pyarmor, guard your python scripts

Path csiph.com!news.mixmin.net!feeder1.xsusenet.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.047
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'scripts': 0.09; 'ast': 0.09; 'mess': 0.09; 'scripts,': 0.09; 'subject:python': 0.14; 'bytecode': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 's/he': 0.16; 'scripts.': 0.16; 'wrote:': 0.16; 'load': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'sep': 0.22; 'code,': 0.23; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'distribute': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'this.': 0.28; 'node': 0.29; 'separated': 0.29; 'anyone': 0.32; 'compiled': 0.32; "who's": 0.32; 'run': 0.33; 'achieving': 0.33; 'received:google.com': 0.35; 'could': 0.35; 'pm,': 0.36; 'subject:: ': 0.37; 'someone': 0.38; 'where': 0.40; 'still': 0.40; 'some': 0.40; 'easy': 0.60; 'your': 0.60; 'back': 0.62; 'making': 0.62; 'goal': 0.64; 'encrypted': 0.66; 'started.': 0.66; 'subject:your': 0.75; 'assemble': 0.84; 'chrisa': 0.84; 'loader.': 0.84; 'to:none': 0.91; 'preventing': 0.91; 'divided': 0.93
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=9BkW+ka9Hd18ec8ukuqGf8DwUHzOI6stKc7I1l1mJhA=; b=ZpjWR9YKtfvHWDTT/3M+WfSS8p3w1dFpd2rvIOBUpDAfurhkMrlPRY/gaxsx/fF9W7 VmeDNVWxt6p7ImdXRSVGmCw/kGdjAqSPImHd4LcdF6TOddkH9KW+LWJh64Tnu2m9Yein Wr12BuxpWKDqnHZjDZ80Ww+uuTl+GHjdfKRUJgLKeyc5GjEh3FSkEBRDcGQ4rfHjDlVu JalypazYlp21H5nxdgttpxcCRmoHksswuO06iVOuyk4sZyDON21thGLItJU82GxPkH0o 43TrxeAyCd+9As/t99aJ5LLJY8QL6zlPZE9zBMA9DF84lrOmnYTQNITRbfiu03cBHjjf 0Jug==
MIME-Version 1.0
X-Received by 10.107.36.72 with SMTP id k69mr11076464iok.157.1442552510792; Thu, 17 Sep 2015 22:01:50 -0700 (PDT)
In-Reply-To <22dc806f-f3f4-4e5d-a939-5ecc5e4bf946@googlegroups.com>
References <42f12eba-2504-4a97-a5bc-e7b9bfe2f1f9@googlegroups.com> <mailman.588.1442310540.8327.python-list@python.org> <22dc806f-f3f4-4e5d-a939-5ecc5e4bf946@googlegroups.com>
Date Fri, 18 Sep 2015 15:01:50 +1000
Subject Re: Pyarmor, guard your python scripts
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.20.1442552514.16376.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442552514 news.xs4all.nl 23835 [2001:888:2000:d::a6]:60551
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96799

Show key headers only | View raw


On Fri, Sep 18, 2015 at 12:40 PM, Jondy Zhao <jondy.zhao@gmail.com> wrote:
> The loader only can see the compiled scripts as ast nodes, even if the load some tools could dump the separated ast node to bytecode and de-compile it, think of one script is divided into thousands of pieces, it's not easy to assemble them again.
>
> The final solution is to distribute the loader with encrypted scripts, only my own loader can run the encrypted scripts.

So anyone who's going to run your program needs your loader. If
someone wants to redistribute your code, s/he can simply distribute
the loader as well - and you're right back where you started. You have
still achieved nothing in terms of preventing redistribution.

Please do not do this. Not only are you not achieving the goal you
think you are, you're making a mess for people to have to deal with.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-15 02:21 -0700
  Re: Pyarmor, guard your python scripts Ben Finney <ben+python@benfinney.id.au> - 2015-09-15 19:36 +1000
    Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 18:58 -0700
      Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-18 12:05 +1000
        Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 19:51 -0700
      Re: Pyarmor, guard your python scripts Ben Finney <ben+python@benfinney.id.au> - 2015-09-18 12:27 +1000
        Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 19:59 -0700
          Re: Pyarmor, guard your python scripts Ben Finney <ben+python@benfinney.id.au> - 2015-09-18 13:06 +1000
            Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 22:55 -0700
              Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-18 17:27 +1000
                Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-18 01:05 -0700
                Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-18 18:16 +1000
              Re: Pyarmor, guard your python scripts sohcahtoa82@gmail.com - 2015-10-05 12:44 -0700
  Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-15 19:48 +1000
    Re: Pyarmor, guard your python scripts Grant Edwards <invalid@invalid.invalid> - 2015-09-15 13:16 +0000
      Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-15 23:29 +1000
        Re: Pyarmor, guard your python scripts Grant Edwards <invalid@invalid.invalid> - 2015-09-15 16:20 +0000
          Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-16 02:29 +1000
            Re: Pyarmor, guard your python scripts Grant Edwards <invalid@invalid.invalid> - 2015-09-15 16:40 +0000
              Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-16 02:59 +1000
    Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 19:40 -0700
      Re: Pyarmor, guard your python scripts Chris Angelico <rosuav@gmail.com> - 2015-09-18 15:01 +1000
        Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-17 22:38 -0700
          Re: Pyarmor, guard your python scripts alister <alister.nospam.ware@ntlworld.com> - 2015-09-18 08:08 +0000
            Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-18 01:31 -0700
              Re: Pyarmor, guard your python scripts alister <alister.nospam.ware@ntlworld.com> - 2015-09-18 10:06 +0000
                Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-18 04:41 -0700
                Re: Pyarmor, guard your python scripts Ben Finney <ben+python@benfinney.id.au> - 2015-09-18 21:52 +1000
                Re: Pyarmor, guard your python scripts Lorenzo Sutton <lorenzofsutton@gmail.com> - 2015-09-18 15:07 +0200
                Re: Pyarmor, guard your python scripts Jondy Zhao <jondy.zhao@gmail.com> - 2015-09-18 06:57 -0700
                Re: Pyarmor, guard your python scripts Josef Pktd <josef.pktd@gmail.com> - 2015-10-05 08:55 -0700
                Re: Pyarmor, guard your python scripts Ben Finney <ben+python@benfinney.id.au> - 2015-10-06 09:25 +1100
                Re: Pyarmor, guard your python scripts Josef Pktd <josef.pktd@gmail.com> - 2015-10-06 07:35 -0700

csiph-web