Gnus development mailing list
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: cancel locks
Date: Thu, 01 Nov 2001 22:10:27 +0100	[thread overview]
Message-ID: <87g07yxkn0.fsf@deneb.enyo.de> (raw)
In-Reply-To: <iluzo66pfr1.fsf@dhcp128.extundo.com> (Simon Josefsson's message of "Thu, 01 Nov 2001 18:23:14 +0100")

Simon Josefsson <jas@extundo.com> writes:

> The initial password is generated with the following, better ideas
> welcome.
>
> (defun message-canlock-generate ()
>   "Return a string that is non-trival to guess.
> Do not use this for anything important, it is cryptographically weak."
>   (md5 (concat (message-unique-id)
> 	       (format "%x%x%x" (random) (random t) (random))
> 	       (prin1-to-string (recent-keys))
> 	       (prin1-to-string (garbage-collect)))))

You could hash in the buffer list, too.

It should be documented somewhere that sharing your .emacs file might
expose the canlock "password".



      parent reply	other threads:[~2001-11-01 21:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-31 17:45 Simon Josefsson
2001-10-31 18:11 ` Bjørn Mork
2001-10-31 19:06   ` Simon Josefsson
2001-11-01  0:13     ` Robin S. Socha
2001-11-01 11:28     ` Florian Weimer
2001-11-01  8:23 ` Per Abrahamsen
2001-11-01 11:34   ` Florian Weimer
2001-11-01 11:59     ` Per Abrahamsen
2001-11-01 16:34       ` Matt Armstrong
2001-11-01 17:21         ` Per Abrahamsen
2001-11-01 17:41         ` Jesper Harder
2001-11-01 17:23           ` Simon Josefsson
2001-11-01 18:47             ` Matt Armstrong
2001-11-01 21:09               ` Florian Weimer
2001-11-01 21:10             ` Florian Weimer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87g07yxkn0.fsf@deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).