Re: Encrypt python files

2015-05-13 Thread M.-A. Lemburg
On 06.05.2015 08:37, Palpandi wrote: Hi, What are the ways to encrypt python files? This talk shows some usable ways of doing that: https://www.youtube.com/watch?v=tKXpMVQIH2Yindex=92list=PL8uoeex94UhEomMao7wuOrOGuj3jxJYlz -- Marc-Andre Lemburg eGenix.com Professional Python Services

Re: Encrypt python files

2015-05-13 Thread BartC
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

Re: Encrypt python files

2015-05-08 Thread Denis McMahon
On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. You can do that by deleting the scripts. Make sure you use a secure

Re: Encrypt python files

2015-05-08 Thread Denis McMahon
On Tue, 05 May 2015 23:37:02 -0700, Palpandi wrote: What are the ways to encrypt python files? Depends why you want to encrypt them, and what you want to do with the encrypted files. Do you mean executable python code files, or do you mean data files generated by python. -- Denis McMahon

Re: (OT) Re: Encrypt python files

2015-05-08 Thread Chris Angelico
On Sat, May 9, 2015 at 11:03 AM, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: Dave Angel wrote: It'd be clearer if you used decryptable, since unencryptable has a very different meaning. http://en.wiktionary.org/wiki/unencryptable The meaning is clear, but does that word have a use?

Re: Encrypt python files

2015-05-08 Thread Dave Angel
On 05/08/2015 06:59 AM, Denis McMahon wrote: On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. You can do that by deleting

(OT) Re: Encrypt python files

2015-05-08 Thread Gregory Ewing
Dave Angel wrote: It'd be clearer if you used decryptable, since unencryptable has a very different meaning. http://en.wiktionary.org/wiki/unencryptable The meaning is clear, but does that word have a use? What could a piece of unencryptable data possibly be like? -- Greg --

Re: Encrypt python files

2015-05-06 Thread Albert-Jan Roskam via Python-list
- On Wed, May 6, 2015 11:04 AM CEST Steven D'Aprano wrote: On Wednesday 06 May 2015 17:23, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts

Re: Encrypt python files

2015-05-06 Thread Steven D'Aprano
On Wednesday 06 May 2015 17:23, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. Why, are you ashamed of your code? Python is free, open source software

Re: DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Albert-Jan Roskam via Python-list
- On Wed, May 6, 2015 9:41 AM CEST Ben Finney wrote: Palpandi palpandi...@gmail.com writes: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: What are the ways to encrypt python files? No, I just want to hide the scripts from others. Which

Re: DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Chris Angelico
On Wed, May 6, 2015 at 6:24 PM, Albert-Jan Roskam via Python-list python-list@python.org wrote: The only feasible solution is to distribute files only to those recipients you want to have them, and can trust to do with them as you ask. If you don't trust a recipient, don't hand the files to them.

Re: Encrypt python files

2015-05-06 Thread David Palao
Hello, I'm afraid your question is either not well defined (or not well enough) or wrong for this list, at least as I understand it. Could you please explain it better? Best 2015-05-06 8:37 GMT+02:00 Palpandi palpandi...@gmail.com: Hi, What are the ways to encrypt python files? -- https

DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Ben Finney
Palpandi palpandi...@gmail.com writes: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: What are the ways to encrypt python files? No, I just want to hide the scripts from others. Which others? You can hide the scripts from them by never showing those others the scripts

Encrypt python files

2015-05-06 Thread Palpandi
Hi, What are the ways to encrypt python files? -- https://mail.python.org/mailman/listinfo/python-list

Re: Encrypt python files

2015-05-06 Thread Steven D'Aprano
On Wednesday 06 May 2015 16:37, Palpandi wrote: Hi, What are the ways to encrypt python files? The same as the ways to encrypt any other file. Your encryption program shouldn't care whether you are encrypting text files, JPEGs, mp3 audio files, executable binary code, Python scripts

Re: DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Chris Angelico
On Wed, May 6, 2015 at 5:41 PM, Ben Finney ben+pyt...@benfinney.id.au wrote: The only feasible solution is to distribute files only to those recipients you want to have them, and can trust to do with them as you ask. If you don't trust a recipient, don't hand the files to them. in today's

Re: Encrypt python files

2015-05-06 Thread Palpandi
On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. -- https://mail.python.org/mailman/listinfo/python-list

Re: Encrypt python files

2015-05-06 Thread Steven D'Aprano
On Wed, 6 May 2015 07:45 pm, Albert-Jan Roskam wrote: I used the marshal module before as a faster alternative to shelve (I marshalled a huge dictionary). I always understood marshal files require the *exact* same interpreter version (incl. built number). Do the same limitations apply for

Re: Encrypt python files

2015-05-06 Thread Emile van Sebille
On 5/6/2015 12:23 AM, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. See http://stackoverflow.com/questions/261638/how-do-i-protect-python-code Emile