Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90547
| From | BartC <bc@freeuk.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Encrypt python files |
| References | <686d08c9-adb7-4f0b-af8d-4d37d9ad4c0e@googlegroups.com> <72bd42d6-6926-44ce-bd6f-956ce40afe08@googlegroups.com> <mii4tu$olm$7@dont-email.me> |
| Message-ID | <kCI4x.479029$%35.64327@fx37.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2015-05-13 14:48 +0100 |
On 08/05/2015 11:59, Denis McMahon wrote: > On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: >> No, I just want to hide the scripts from others. > As the decryption method is always available to anyone who has legitimate > access to execute the code, it's impossible to hide the code at that > point. Execute yes, but not necessarily allow access to the source if that is the problem. > Example - if I give you an encrypted binary to run on your system, it > either has to be unencryptable using tools you already have, or using a > built in unencrypter, both of which you have access to and can use to > unencrypt the encrypted executable code. It can certainly be made harder than simply distributing source code. By using a proprietary byte-code for example, or code designed to run on some virtual machine. The tools run execute it will need to be provided, but that's a long way from being able to reconstruct source code (and if that was achieved, you would likely end up with some source code that corresponds to the interpreter, not the application). But it depends on what secrets the OP is trying to hide. Just proving .pyc files might be enough, and is minimal inconvenience to the user. -- Bartc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Encrypt python files Palpandi <palpandi111@gmail.com> - 2015-05-05 23:37 -0700
Re: Encrypt python files Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-06 16:47 +1000
Re: Encrypt python files David Palao <dpalao.python@gmail.com> - 2015-05-06 08:49 +0200
Re: Encrypt python files Palpandi <palpandi111@gmail.com> - 2015-05-06 00:23 -0700
DRM is self-defeating (was: Encrypt python files) Ben Finney <ben+python@benfinney.id.au> - 2015-05-06 17:41 +1000
Re: DRM is self-defeating (was: Encrypt python files) Chris Angelico <rosuav@gmail.com> - 2015-05-06 18:00 +1000
Re: Encrypt python files Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-06 19:04 +1000
Re: Encrypt python files Emile van Sebille <emile@fenx.com> - 2015-05-06 14:28 -0700
Re: Encrypt python files Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-08 10:59 +0000
Re: Encrypt python files Dave Angel <davea@davea.name> - 2015-05-08 08:13 -0400
(OT) Re: Encrypt python files Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-05-09 13:03 +1200
Re: (OT) Re: Encrypt python files Chris Angelico <rosuav@gmail.com> - 2015-05-09 12:02 +1000
Re: Encrypt python files BartC <bc@freeuk.com> - 2015-05-13 14:48 +0100
Re: Encrypt python files Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-08 10:51 +0000
Re: Encrypt python files "M.-A. Lemburg" <mal@egenix.com> - 2015-05-13 15:11 +0200
csiph-web