A litle off topic but the zipfile doc says: "Decryption is extremely slow as it <br>is
implemented in native python rather than C". <br><br>Why is this limitation there? I mean, is there any specific reason for not implementing<br>it in C?<br><br><div class="gmail_quote">On Mon, Aug 24, 2009 at 8:45 AM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Guido van Rossum wrote:<br>
> OMG, the use case is actually running a script without giving the user<br>
> access to the script's source? Agreed that's a big -1.<br>
><br>
> I thought it was just for running a zip containing code so secret you<br>
> don't want to leave it around on your hard drive without encryption<br>
> (say, the program you use to compute your employee's bonuses, or<br>
> perhaps a patented algoritm for detecting spam). That use case would<br>
> make a small amount of sense, though I personally don't care enough to<br>
> write the code to support it.<br>
<br>
</div>Actually, the issue posting doesn't say either way - it doesn't provide<br>
any real use cases at all.<br>
<br>
For local protection of confidential information there are already much<br>
better solutions out there (e.g. whole disk encryption, OS file<br>
permissions, OS folder encryption), so a poor-man's DRM was the only<br>
remaining remotely plausible use case I could see (and that's a bad idea<br>
for all the reasons that DRM is almost always a bad idea).<br>
<br>
Now, that could just be a failure of imagination on my part, but genuine<br>
use case suggestions for the feature have been non existent so far.<br>
<br>
Cheers,<br>
Nick.<br>
<font color="#888888"><br>
--<br>
Nick Coghlan | <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a> | Brisbane, Australia<br>
---------------------------------------------------------------<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/shashank.sunny.singh%40gmail.com" target="_blank">http://mail.python.org/mailman/options/python-dev/shashank.sunny.singh%40gmail.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Shashank Singh<br>Senior Undergraduate, Department of Computer Science and Engineering<br>Indian Institute of Technology Bombay<br><a href="mailto:shashank.sunny.singh@gmail.com">shashank.sunny.singh@gmail.com</a><br>
<a href="http://www.cse.iitb.ac.in/~shashanksingh">http://www.cse.iitb.ac.in/~shashanksingh</a><br>