From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58614 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: hashcash Date: Mon, 27 Sep 2004 17:21:37 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87d609jbd9.fsf@koldfront.dk> <87mzzcu4pk.fsf@koldfront.dk> <87oejrn52o.fsf@koldfront.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1096298547 3756 80.91.229.6 (27 Sep 2004 15:22:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2004 15:22:27 +0000 (UTC) Cc: Paul Foley Original-X-From: ding-owner+M7152@lists.math.uh.edu Mon Sep 27 17:22:18 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBxKT-00012M-00 for ; Mon, 27 Sep 2004 17:22:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CBxKO-0001Lc-00; Mon, 27 Sep 2004 10:22:12 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CBxKJ-0001LX-00 for ding@lists.math.uh.edu; Mon, 27 Sep 2004 10:22:07 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CBxKI-0004XZ-AV for ding@lists.math.uh.edu; Mon, 27 Sep 2004 10:22:06 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 641CB3A004F for ; Mon, 27 Sep 2004 10:22:02 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CBxKD-0000YF-00 for ; Mon, 27 Sep 2004 17:22:01 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2004 17:22:01 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2004 17:22:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se X-Hashcash: 0:040927:mycroft@actrix.gen.nz:ace8c90802683ffe User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:XPI1fnDq302eqq3xq8xO0IOvbBE= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58614 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58614 asjo@koldfront.dk (Adam Sj=F8gren) writes: > Oh, another thing: there is a script for mutt called > "hashcash-sendmail"=B9 that apparantly appends six or so trailing spaces > to the X-Hashcash: [stamp]-header (a friend of mine uses it, and I get > those from him). hashcash.el should definitely not care about white space in header fields... > - (setq ok (hashcash-verify-payment (hashcash-token-substring)))) > + (setq ok (hashcash-verify-payment (replace-in-string (hashcash-token-= substring) " " "")))) ...however, replace-in-string is XEmacs specific.