From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48598 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Hashcash Date: Thu, 02 Jan 2003 20:25:18 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: <87y9brejam.fsf@mail.paradoxical.net> <873ctztyth.fsf@mail.paradoxical.net> <20020801222925.A10502@mastaler.com> <02Aug5.165400edt.119167@gateway.intersystems.com> <02Aug6.103518edt.119321@gateway.intersystems.com> <02Aug6.141550edt.119068@gateway.intersystems.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041535537 24858 80.91.224.249 (2 Jan 2003 19:25:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2003 19:25:37 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18UAy9-0006Re-00 for ; Thu, 02 Jan 2003 20:25:29 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18UAyM-00062l-00; Thu, 02 Jan 2003 13:25:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 02 Jan 2003 13:26:35 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA24769 for ; Thu, 2 Jan 2003 13:26:18 -0600 (CST) Original-Received: (qmail 5630 invoked by alias); 2 Jan 2003 19:25:20 -0000 Original-Received: (qmail 5625 invoked from network); 2 Jan 2003 19:25:19 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 2 Jan 2003 19:25:19 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18UAzM-0006wm-00 for ; Thu, 02 Jan 2003 20:26:44 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 38 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1041535604 26175 80.91.231.2 (2 Jan 2003 19:26:44 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 2 Jan 2003 19:26:44 GMT Mail-Copies-To: never X-Now-Playing: Ruby's _Salt Peter_: "Salt Water Fish" User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) X-Face: "ax:k9NPr@6osXUYeap:YVh7+Vhem~n#yj@7cb.1>'O@7v*toi[q#0YPaYkV,{_|1LIO]bV S(gP2u&?^`3`L{^;($fCISr!A:>d%qEofQIfw:@VA(?eT`"~jXVvr2?o2IKr.-hB???ccK^'(W:'@ Cancel-Lock: sha1:e1OR7FodN1EnxzlCnAarFVdQuDk= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48598 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48598 Simon Josefsson writes: > I lobbied for this in SpamAssassin, and there are patches available, > but nothing seems to happen. They seemed to want to wait for a > standard to emerge, which seemed very backwards to what SA is all > about to me, but anyway. Yup. :-) >> Also, the posting code seems to be synchronous. I think it would be >> nice to put the hashcash generation in the background, and postpone >> the sending until the message has been hashcashed. Has anybody done >> any work in that area? Could, perhaps, the delayed nndrafts code be >> used for that? > > Sounds like a good idea. We'd might as well write a complete elisp > implementation of it, since it justs loop over a SHA-1 computation. But if we do it in Emacs Lisp, will we be able to do it asynchronously? Hm, perhaps -- is it just running an external SHA-1 program repeatedly? Then it can be done with process sentinels, I guess... Then sending could basically be: 1) Put the message in the draft buffer 2) Compute the payment in the background 3) Insert the payment and send it If the user quits Gnus/Emacs before the payment has been computed, the message will remain in the draft group, which might be annoying, but probably not a major problem. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen