all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: D <d.williams@posteo.net>
To: bugs@gnu.support
Cc: emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New package: dw.el
Date: Wed, 31 Mar 2021 18:24:32 +0200	[thread overview]
Message-ID: <5f5c2f50-d831-4ba2-602c-4fe981cbefbb@posteo.net> (raw)
In-Reply-To: <YGRgJ8qYCJNXYTHD@protected.localdomain>


> User is supposed to have the list, that does not seem practical. It
> means package is not self contained and user has to download something
> from somewhere.

You need a diceware world list for the diceware method, yes.  That's
why I added the appropriate links to the package description.

> Why don't you generate those numbers on the fly by taking random lines
> from a supplied word list?

That is of course possible, in principle.  On the other hand it's
generally not a good idea to use a dictionary list for this.  The
reasons for that are twofold: one only the first 6^5 words are
used. Using more would require using more than 5 dice per word.  In a
dictionary file like words, this would essentially guarantee that all
words start with [Aa].  On top of that, dictionary files contain
incredibly many variations of the same word with minor spelling and
casing differences, which of course also negatively affects entropy.
Hence it's good to stick to word lists deliberately generated for
diceware passphrase generation.

I could mitigate this problem by providing a word list the default
value.  This would not even require an extra file as the word list is
internalized as an association list.  That way people who want to try
out diceware for the first time don't have to bother with external
resources and people who just want to try it out get a plug & play
experience.



  reply	other threads:[~2021-03-31 16:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 21:13 [NonGNU ELPA] New package: dw.el D
2021-03-31  6:38 ` Jean Louis
2021-03-31 11:28   ` D
2021-03-31 11:42     ` Jean Louis
2021-03-31 16:24       ` D [this message]
2021-03-31 19:43         ` Jean Louis
2021-03-31 23:42           ` D
2021-04-01  9:17             ` Jean Louis
2021-04-01 16:49               ` D
2021-04-01 16:51                 ` Jean Louis
2021-04-01 21:29 ` Stefan Monnier
2021-04-01 22:40   ` D
2021-04-01 23:15     ` Stefan Monnier
2021-04-02 17:45       ` D
2021-04-02 18:14         ` Stefan Monnier
2021-04-02 19:27           ` D

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=5f5c2f50-d831-4ba2-602c-4fe981cbefbb@posteo.net \
    --to=d.williams@posteo.net \
    --cc=bugs@gnu.support \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.