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 point

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=tKXpMVQIH2Y&index=92&list=PL8uoeex94UhEomMao7wuOrOGuj3jxJYlz -- Marc-Andre Lemburg eGenix.com Pr

Re: (OT) Re: Encrypt python files

2015-05-08 Thread Chris Angelico
On Sat, May 9, 2015 at 11:03 AM, Gregory Ewing 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? > What could a

(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 -- https://mail.py

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

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 s

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 McMa

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

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 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 fi

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 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. > > Can tools lik

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?

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 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

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 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 world, that basically gives

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

2015-05-06 Thread Ben Finney
Palpandi 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 script

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-05 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, Pyth

Re: Encrypt python files

2015-05-05 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 : > Hi, > > What are the ways to encrypt python files? > -- > htt

Encrypt python files

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