Delivery-Date: Tue, 06 Jan 2015 14:01:04 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,URIBL_BLOCKED autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 512DD1E04BF
	for <archiver@seul.org>; Tue,  6 Jan 2015 14:01:03 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 6F57330EA7;
	Tue,  6 Jan 2015 19:00:59 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 8709E32501
 for <tor-talk@lists.torproject.org>; Tue,  6 Jan 2015 19:00:55 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id LC1poPxjbqy1 for <tor-talk@lists.torproject.org>;
 Tue,  6 Jan 2015 19:00:55 +0000 (UTC)
Received: from outbound004.roc2.bluetie.com (outbound004.roc2.bluetie.com
 [208.89.132.144])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (Client CN "Bizanga Labs SMTP Client Certificate",
 Issuer "Bizanga Labs CA" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 633FF322FC
 for <tor-talk@lists.torproject.org>; Tue,  6 Jan 2015 19:00:55 +0000 (UTC)
Received: from web003.roc2.bluetie.com ([10.200.2.97])
 by outbound004.roc2.bluetie.com with outbound004
 id cj0s1p00325b3Pu01j0shk; Tue, 06 Jan 2015 14:00:52 -0500
X-CMAE-OUT-Analysis: v=2.1 cv=HcstEE08 c=1 sm=1 tr=0
 a=jldDdGg9RpdlhCWv9Upb1Q==:117 a=QoHJ8kPOAAAA:8 a=IkcTkHD0fZMA:10
 a=deDS6JXDAAAA:8 a=2EQqqvrs-JcA:10 a=YNv0rlydsVwA:10 a=AwIQbDszAAAA:8
 a=8S4IvvHzIvSNNwGjbT4A:9 a=QEXdDO2ut3YA:10
X-CMAE-OUT-Score: 0.00
Received: from web003.roc2.bluetie.com (localhost.localdomain [127.0.0.1])
 by web003.roc2.bluetie.com (Postfix) with ESMTP id E0D35103810E
 for <tor-talk@lists.torproject.org>; Tue,  6 Jan 2015 14:00:52 -0500 (EST)
Message-ID: <20150106140052.27144@web003.roc2.bluetie.com>
X-HTTP-Received: from Authenticated sender: freedomfighter3.myway
 [46.59.182.171] by web003.roc2.bluetie.com (BlueTie WebMail);
 Tue, 06 Jan 2015 14:00:52 -0500
X-Mailer: BlueTie MTA
Date: Tue, 06 Jan 2015 14:00:52 -0500
Cc: 
To: tor-talk@lists.torproject.org
From: "Full Name" <freedomfighter3@myway.com>
Importance: normal
Subject: Re: [tor-talk] New Software: P2P filesharing designed to use Tor
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

Hi,
a link goes like this: sdc://|file|sampletextfile.txt|76|5508A134D3CF3F7F01518FDEFE5E1C60B04E8A65|/
  sampletextfile.txt      ->     filename,
  76      ->      filesize
  5508A134D3CF3F7F01518FDEFE5E1C60B04E8A65       ->     roothash

Hashing is done in a tree-style like tiger but a little different with 3 levels of hash: 
   Level 0: roothash
   Level 1: intermediate hash  (nests up to 100 nodes ( Level 2)
   Level 2: hashes 100 kb blocks

Hashing is using SHA-1.
The higher level hash is composed of the hashes of the lower level.
Exception roothash: root-hash is computed by hashing all Level-1 hashes plus appending the filesize.
With this way the filesize is "fixed" and cannot be tricked by malware.


If you give someone a download container you pass over a file which has ascii-content (json), the content looks like:
{"name":"Demo Container","files":[{"relativePath":"2014-01-08 15.52.12.jpg","rootHash":"2950185AC96CCC33F5428A046CAF64BE0D7D2662","fileSize":628079}]}




-----Original Message-----
From: "SecTech" [tech@firemail.de]
Date: 01/06/2015 01:43 PM
To: tor-talk@lists.torproject.org
Subject: Re: [tor-talk] New Software: P2P filesharing designed to use Tor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,
if I give someone a link to a file, are there hash in the link?
how does hashing work in your program and which hashes do it use?
Is your program computing an hash per file or several hashes / macs per
part of an file like torrent with tiger tree hash?


- -- 
SecTech <tech@firemail.de>
GPG-ID: 0x364CFE05

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUrCzOAAoJENR4jiM2TP4F2dQQAKeSzdERQNbeX2ckxVPKevje
8zOkQHvsWR+o6zEKmLVO38rUCcpLnBpsirneCFHXSOybPtL2qq0bLS96mWlONARw
D1l51bwIjZ039WfNiDAiHM9Xj/I0GlM240Za5yUVwcC5QdajsNJauOFerKG3k6Tu
q4hWX/XcP0/+A+ujSoGmZt5qB3G07U/Ggc8JQJy8uBRHgqMZ8vr3UzesBDFR8dBS
WG/nn/ud1D4Kjqyd+E0D4e0VjSEJClI5CYOUvtvA8UfuJB7eurkFYEM9l6PXVc2F
79LE3PtN+UDOEMv8IxGaJvcnRWuXx8OJpFv84Qf9qXfnSe0Y9AjYbfjRB2fPVly5
PGEh3w8H8uCUmRYiP5vXfsMtSSTYtA7lU84HZkGmaocLruHZTjpZ9mozYUam/pru
sUI0HUZgfeTO8fbJVqFQchnjI8IGMHffW/ZKmDFpg65GN5OrueiVWYioUSPmX20t
a37tIH8+yon6BIPfXkQGVC1N/fCK8J3YW4G9akAMpaLuTqyJenIdF8aBtSXx8+RQ
u9LSKkOkH7mEhu6OyVQhm7payv9gxtvIroFV5mElDKzHbYksC2e9NahimbUBB4zP
uogwcDuYtwB8KLPSYZ+AmJ3MNT9EWoJXDAxOoBSyfmZY03S4nRPsIOWz6iWwyZ0n
4JOgjGTpa3XQTGi43i3X
=WsO7
-----END PGP SIGNATURE-----
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

