Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'receives': 0.03; 'subject:Python': 0.05; 'chunk': 0.07; 'nasty': 0.07; 'bytes,': 0.09; 'chunks': 0.09; 'normally,': 0.09; 'owners.': 0.09; "person's": 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'example:': 0.11; 'wed,': 0.15; '(file': 0.16; 'encryption': 0.16; 'hashes': 0.16; 'losing': 0.16; 'node,': 0.16; 'nodes': 0.16; 'picks': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'storing': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'runs': 0.18; '>>>': 0.20; 'windows': 0.20; 'prevent': 0.20; 'am,': 0.23; '2015': 0.23; 'header:In-Reply- To:1': 0.24; 'thus': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'data,': 0.27; '-0500,': 0.29; 'expose': 0.29; 'node': 0.29; 'question:': 0.29; 'random': 0.29; 'themselves': 0.29; 'supposed': 0.31; 'run': 0.32; 'related': 0.32; "d'aprano": 0.33; 'received:comcast.net': 0.33; 'recipient.': 0.33; 'steven': 0.33; 'running': 0.34; 'to:addr :python-list': 0.35; 'clear': 0.35; 'primarily': 0.35; 'data.': 0.36; 'should': 0.37; 'client': 0.37; 'expressed': 0.37; 'subject:: ': 0.37; 'received:org': 0.38; 'doing': 0.38; 'pm,': 0.39; 'things': 0.39; 'whatever': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'data': 0.40; 'charset:windows-1252': 0.65; 'request.': 0.66; 'subject:Data': 0.66; 'virus': 0.68; 'computers': 0.70; 'protect': 0.74; 'integrity': 0.76; 'smith': 0.76; 'movie.': 0.84; 'dennis': 0.91; 'pc.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Randall Smith Subject: Re: Pure Python Data Mangling or Encrypting Date: Thu, 25 Jun 2015 14:41:43 -0500 References: <558a9649$0$1675$c3e8da3$5496439d@news.astraweb.com> <558AF4D7.1070205@tnr.cc> <05mmoa5b3lev74esrmsu6ce5h1s99lhdb3@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: c-98-251-140-107.hsd1.ms.comcast.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <05mmoa5b3lev74esrmsu6ce5h1s99lhdb3@4ax.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435261314 news.xs4all.nl 2965 [2001:888:2000:d::a6]:41475 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93163 On 06/24/2015 08:33 PM, Dennis Lee Bieber wrote: > On Wed, 24 Jun 2015 13:20:07 -0500, Randall Smith > declaimed the following: > >> On 06/24/2015 06:36 AM, Steven D'Aprano wrote: >>> I don't understand how mangling the data is supposed to protect the >>> recipient. Don't they have the ability unmangle the data, and thus expose >>> themselves to whatever nasties are in the files? >> >> They never look at the data and wouldn't care to unmangle it. The >> purpose is primarily to prevent automated software (file indexers, virus >> scanners) from doing bad things to the data. >> > > Which leads to the question: what is "doing bad things". Storage nodes are computers running the software in discussion, that store chunks of data they are sent (recipient) and send it upon request. Their job (as related to this software) is to accept, store and send chunks of data upon request. So losing data is a bad thing. The storage node software is cross platform and should run on anything from a dedicated Raspberry PI to an old Windows PC. Data integrity is insured using encryption and hashes generated by the original data owners. Normally, a data chunk would look like random bytes, because it is encrypted. However, the storage node cannot prevent the client (uploader) from sending unencrypted data. The purpose of this obfuscation is to protect the storage node, as many potential users have expressed hesitation in storing other peoples data. Example: A storage node runs a Desktop OS with an image indexer. It receives an unencrypted nasty image or movie. The indexer picks it up and shows it in the person's image or movie "Library". Does that clear things up? -Randall