Delivery-Date: Sun, 03 Aug 2014 13:33:38 -0400
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,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD,T_TVD_MIME_NO_HEADERS 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 C605B1E0BF5;
	Sun,  3 Aug 2014 13:33:36 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id DB8CF30C2A;
	Sun,  3 Aug 2014 17:33:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 2CDB630C32;
 Sun,  3 Aug 2014 17:33:29 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
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 UMnYtMhGec3s; Sun,  3 Aug 2014 17:33:29 +0000 (UTC)
Received: from atlantis.meejah.ca (unknown [216.51.232.213])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id 08BEA30BF0;
 Sun,  3 Aug 2014 17:33:29 +0000 (UTC)
Received: from meejah by atlantis.meejah.ca with local (Exim 4.72)
 (envelope-from <meejah@meejah.ca>)
 id 1XDzdu-0000fL-21; Sun, 03 Aug 2014 21:32:22 +0400
From: meejah <meejah@meejah.ca>
To: tor-dev@lists.torproject.org, tor-talk@lists.torproject.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Date: Sun, 03 Aug 2014 21:32:18 +0400
Message-ID: <86zjflpjh9.fsf@atlantis.meejah.ca>
MIME-Version: 1.0
Subject: [tor-talk] carml: tasty treats from your 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>
Content-Type: multipart/mixed; boundary="===============3350729232475830603=="
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

--===============3350729232475830603==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"

--=-=-=


I've got a first super-alpha release of this thing that's been sitting
around for a while. Turns out "sanitize a bit" turns into "refactor some
things" and so forth...

Anyway, carml does various command-line things with Tor and I thought it
might be useful to others (plays nicely with grep, pipes, etc).

I would really love feedback on whether the "downloadbundle" command is
doing the right thing with certificate-checks.

https://github.com/meejah/carml
https://carml.readthedocs.org/en/latest/

You can "pip install carml" to try it out. Recommend doing this in a
virtualenv:

   virtualenv trycarml
   ./trycarml/bin/pip install carml
   ./trycarml/bin/carml help

To check signatures first, instead download the WHL file and associated
signature from PyPI, gpg --verify it and then replace "install carml"
with "install path/to/.whl" above.

Some other things to try:

   carml downloadbundle --extract --system-keyring
   echo "hello darkweb" | carml pastebin

wait for a new consensus to be published, dump it and exit:

   carml events --once NEWCONSENSUS

Currently, the defaults work with a system Tor (i.e. localhost port
9051). Probably I'll change this to be TBB defaults. To connect to a Tor
Browser Bundle instance, do this:

   carml --connect tcp:localhost:9151 monitor

It is written using Twisted and txtorcon.

Thanks,
meejah

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJT3nIiAAoJEJ0UOBRRgEVQ7ngIALIr2fc2nHrKXttkjOqJhhTW
kuGiLBrwxSlDKYildWjyH6h4wN7aX/REYF6j9tXTJPHoXJkmBw54KrZMzUkW71ol
i9pvVwRj/EHZUGj2kp4adiH0QpWkvgqRIMih1qLyrGugjlA5EGQv56bQdNKBVPtz
DCLS4M5EDY9Cal5uKVFQ2hIDPAYnKrO25Wj40feA9q4iFW9RgmD+u2drJXsBuWG1
M0wvod2LywcIHwL72rHelZRWi8Qzeogn+9uWEMFlMSrUR8tIbN9SGdFIykSgwcZs
WTeE2A4Y9MEtmgSMkt59iof2QNpyQkGDU+DmloFTje7ObNAkIcw0/TuUJoy5IXI=
=Or74
-----END PGP SIGNATURE-----
--=-=-=--

--===============3350729232475830603==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============3350729232475830603==--

