From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39369 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Cancel locks? Date: Wed, 17 Oct 2001 20:30:56 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175085 27507 80.91.224.250 (21 Oct 2002 04:38:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:38:05 +0000 (UTC) Return-Path: Original-Received: (qmail 26148 invoked from network); 17 Oct 2001 19:00:43 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 17 Oct 2001 19:00:43 -0000 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 15tvuy-0002Xu-00; Wed, 17 Oct 2001 13:59:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 Oct 2001 13:59:29 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA00879 for ; Wed, 17 Oct 2001 13:59:18 -0500 (CDT) Original-Received: (qmail 25754 invoked by alias); 17 Oct 2001 18:32:55 -0000 Original-Received: (qmail 25749 invoked from network); 17 Oct 2001 18:32:55 -0000 Original-Received: from fep03.swip.net (HELO fep03-svc.swip.net) (130.244.199.131) by gnus.org with SMTP; 17 Oct 2001 18:32:55 -0000 Original-Received: from rocksteady.enberg.org ([212.151.233.47]) by fep03-svc.swip.net with ESMTP id <20011017183229.VNUO2251.fep03-svc.swip.net@rocksteady.enberg.org> for ; Wed, 17 Oct 2001 20:32:29 +0200 Original-Received: by rocksteady.enberg.org (Postfix, from userid 500) id 107A81C47F; Wed, 17 Oct 2001 20:32:07 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Wed, 17 Oct 2001 13:00:03 +0200 (CEST)") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Original-Lines: 27 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39369 Simon Josefsson writes: > On Wed, 17 Oct 2001, Per Abrahamsen wrote: > >> Jesper Harder writes: >> >> > (setq canlock-password "hemmeligt") >> >> We would either need to generate the password automatically (and in a >> not too easily predictable way), or alternatively prompt the user for >> a password first time he post. And if we prompt, we need a really >> good formulation. > > Customize auto-save it, initialized to something random [1]? But the user > should then be informed about keeping .emacs read-protected in multi-user > environments. Which is a can of worms that shouldn't be opened. Sigh. > > [1] There isn't a good PRNG available in elisp... Hm. Maybe a random > number library would be nice. make-password.el by Jim Blandy lets you hit the spacebar an ungodly number of times to generate the random seed. Maybe this idea could be stolen? Henrik -- .. bleakness.... desolation.... plastic forks...