From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35002 Path: main.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.gnus.general Subject: Re: Cancel-Locks Date: 26 Feb 2001 18:23:33 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87k86d73ze.fsf_-_@deneb.enyo.de> References: <20010223133030.B14991@mastaler.com> <87r90l90lg.fsf@deneb.enyo.de> <87snl175us.fsf@deneb.enyo.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170818 677 80.91.224.250 (21 Oct 2002 03:26:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:26:58 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 9E530D049D for ; Mon, 26 Feb 2001 12:15:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB13892; Mon, 26 Feb 2001 11:13:46 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Feb 2001 11:13:07 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA04796 for ; Mon, 26 Feb 2001 11:12:56 -0600 (CST) Original-Received: from mail.netic.de (mail.s.netic.de [212.9.160.11]) by mailhost.sclp.com (Postfix) with ESMTP id 30547D049D for ; Mon, 26 Feb 2001 12:13:26 -0500 (EST) Original-Received: by mail.netic.de (Smail3.2.0.111/mail.s.netic.de) via LF.net GmbH Internet Services via remoteip 212.9.163.1 via remotehost mail.enyo.de with esmtp for mail.gnus.org id m14XRDB-001Wz9C; Mon, 26 Feb 2001 18:13:25 +0100 (CET) Original-Received: from [192.168.1.2] (helo=deneb.enyo.de) by mail.enyo.de with esmtp (Exim 3.12 #1) id 14XRBu-0006b9-00 for ding@gnus.org; Mon, 26 Feb 2001 18:12:06 +0100 Original-Received: from fw by deneb.enyo.de with local (Exim 3.12 #1) id 14XRMz-0004hN-00 for ding@gnus.org; Mon, 26 Feb 2001 18:23:33 +0100 Original-To: ding@gnus.org In-Reply-To: (Per Abrahamsen's message of "26 Feb 2001 17:45:03 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 23 Xref: main.gmane.org gmane.emacs.gnus.general:35002 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35002 Per Abrahamsen writes: > How should the UI be? > > I think it would be most useful as a mandatory feature, i.e. Gnus will > always add a cancel lock, and the cancel code will always check the > lock for permission. Yes, I think that's the way to go. (Of course, an undocumented variable will exist which permits canceling in all cases. ;-) In addition, the cancel message will be editable, much like a Supersede: message. We need to generate a cancel key for each posted article. I think the best approach is to generate a secret string once (for example, a hash over the output of the date, ps, and ls ~ commands, or something like that, if /dev/[u]random is not available). A cancel key is the SHA-1 hash of concatenation of this secret string and the message ID of the article in question. This way, we don't have to keep a database of cancel keys, and this system is safe as long as SHA-1 meets its design goals and the secret string is kept secret. Comments?