all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Noob dumb question (extending emacs)
Date: Sun, 24 Oct 2021 10:08:12 +0300	[thread overview]
Message-ID: <YXUGXDRjPbqB1dqX@protected.localdomain> (raw)
In-Reply-To: <CAP_d_8WBYSkYc8yQeVQo4Ke8s-LesWtNO-act=fnypW6sjtd-A@mail.gmail.com>

* Yuri Khan <yuri.v.khan@gmail.com> [2021-10-23 16:09]:
> On Sat, 23 Oct 2021 at 19:55, Michael Heerdegen
> <michael_heerdegen@web.de> wrote:
> > > In Emacs, as far as I can tell, best case, the random
> > > seed is 48 bits.
> >
> > Is the random number generator able to use more than 48 bits of entropy?
> 
> Not as far as I can tell from srand48(3).
> 
> This pseudo-random number generator is not designed to be used for
> password generation and cryptography. It’s okay for simulations,
> games, network retry delays, this kind of things.

What is better?

1. To have users "invent" their passwors by letting them type it each
   time? 

2. Or maybe to offer them a random password like:
   "6IcH8L$BnQcmL-NrnSHe" which they can anyway change if they like?

In my practical password generation the latter option is more secure,
then if I start inventing passwords like "So8ething98" which I
consider less secure or using hands to type something random like
"asdf45huji" which in the end and due to habits may not be that random
at all.

When making highly hypothetical observation it is not bad to remember
the practical use of it. 

Emacs Lisp how it is can generate random passwords and that is what
matters and is practically useful.

If you wish to say that passwords are not random, unsafe, and so on,
please demonstrate it practically, not just theoretically. 

For example, try to predict the outcome of the following:

(random (format "%s" (random)))

And provide a script in any programming language that will predict the
outcome of that function. Prove it. Don't let it be just confusing.

If you can do that, you have completed scientific exercise and have
proven it empirically that passwords are not random. Not only
theoretically, as from theory I have no practical benefit.

By using (rcd-password) ⇒ "n=(3hWqlaWfPRTSDQrWV" function I have a
constant daily practical benefit. 

Then I have to face a professional programmer of Emacs Lisp who wants
to convince me that I should not be generating passwords by using
Emacs Lisp. 

Come on.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



  parent reply	other threads:[~2021-10-24  7:08 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 22:12 Noob dumb question (extending emacs) Ivano Da Milano
2021-10-20  0:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-20  6:34   ` Marcin Borkowski
2021-10-20 18:13     ` H. Dieter Wilhelm
2021-10-20  6:53   ` Jean Louis
2021-10-20  8:23     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-20 17:10   ` Ivano Da Milano
2021-10-20 18:41     ` Tassilo Horn
2021-10-20 18:56     ` Ken Goldman
2021-10-20 19:01       ` Ivano Da Milano
2021-10-20 19:45     ` Jean Louis
2021-10-21  5:27       ` Ivano Da Milano
2021-10-21  7:40         ` H. Dieter Wilhelm
2021-10-21 15:46           ` Ivano Da Milano
2021-10-21 16:03             ` H. Dieter Wilhelm
2021-10-21 17:49               ` Ivano Da Milano
2021-10-21 18:51         ` Jean Louis
2021-10-21 20:02           ` H. Dieter Wilhelm
2021-10-21 22:58             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22  6:59               ` H. Dieter Wilhelm
2021-10-22 12:18                 ` Jean Louis
2021-10-22 12:56                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22 13:14                     ` Yuri Khan
2021-10-22 17:51                       ` Jean Louis
2021-10-22 18:50                         ` Yuri Khan
2021-10-22 19:29                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22 21:22                           ` Jean Louis
2021-10-23 18:08                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  7:10                               ` Jean Louis
2021-10-24  9:35                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24 17:41                                   ` Jean Louis
2021-10-24 18:20                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25  5:47                                       ` Jean Louis
2021-10-25  9:40                                         ` Yuri Khan
2021-10-25 10:23                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 12:41                                           ` Jean Louis
2021-10-25 19:22                                           ` Jean Louis
2021-10-25 19:46                                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 19:52                                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 19:56                                                 ` About randomity, entropy, random passwords - was " Jean Louis
2021-10-25 20:29                                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 20:00                                               ` Jean Louis
2021-10-25 19:56                                             ` Yuri Khan
2021-10-25 20:24                                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 20:34                                                 ` Jean Louis
2021-10-25 20:29                                               ` About randomity, entropy, random passwords - was " Jean Louis
2021-10-28 20:39                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-23  8:41                           ` Michael Heerdegen
2021-10-23 10:16                             ` Yuri Khan
2021-10-23 10:46                               ` Michael Heerdegen
2021-10-23 18:27                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  8:16                                   ` Michael Heerdegen
2021-10-28  2:24                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-28 11:41                                       ` Michael Heerdegen
2021-10-28 12:07                                         ` tomas
2021-10-28 20:56                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-28 22:54                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-31 20:46                                             ` Michael Heerdegen
2021-11-01  2:09                                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-01 19:38                                                 ` Michael Heerdegen
2021-11-03  1:06                                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-03 21:24                                                     ` Michael Heerdegen
2021-11-03 22:16                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-05 19:03                                                 ` Jean Louis
2021-11-05 21:50                                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-31 20:42                                           ` Michael Heerdegen
2021-11-05 18:59                                       ` Jean Louis
2021-10-23 12:54                               ` Michael Heerdegen
2021-10-23 13:07                                 ` Yuri Khan
2021-10-23 18:41                                   ` ERC links to man pages (was: Re: Noob dumb question (extending emacs)) Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  7:08                                   ` Jean Louis [this message]
2021-10-24  8:57                                     ` Noob dumb question (extending emacs) Michael Heerdegen
2021-10-24 17:59                                       ` Jean Louis
2021-10-25  9:18                                         ` Michael Heerdegen
2021-10-25  9:33                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 19:44                                             ` Jean Louis
2021-10-25 20:20                                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 20:33                                                 ` Jean Louis
2021-10-25 12:45                                           ` Jean Louis
2021-10-25 13:20                                             ` Michael Heerdegen
2021-10-25 19:54                                               ` About randomity, entropy, random passwords - was " Jean Louis
     [not found]                                               ` <YXcLIC+doASdNFll@protected.localdomain>
     [not found]                                                 ` <87cznryfnz.fsf@web.de>
2021-10-26 18:52                                                   ` Jean Louis
2021-10-23 18:22                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-23 19:52                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  6:43                               ` Jean Louis
2021-10-24  8:28                                 ` Michael Heerdegen
2021-10-24 18:03                                   ` Jean Louis
2021-10-24  9:31                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24 18:09                                   ` Jean Louis
2021-10-24 18:30                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25  5:31                                       ` Jean Louis
2021-10-28  2:33                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-05 19:09                                           ` Passwords -- " Jean Louis
2021-11-05 22:00                                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-23 18:17                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  8:42                               ` Michael Heerdegen
2021-10-22 18:55                         ` Yuri Khan
2021-10-22 19:30                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22 21:31                           ` Jean Louis
2021-10-22 22:21                             ` H. Dieter Wilhelm
2021-10-23 10:46                             ` Yuri Khan
2021-10-23 18:13                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  7:48                                 ` Yuri Khan
2021-10-24  9:37                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-24  6:45                               ` Jean Louis
2021-10-24  8:50                                 ` Michael Heerdegen
2021-10-24 17:20                                   ` Jean Louis
2021-10-24 18:17                                 ` Yuri Khan
2021-10-24 19:07                                   ` Jean Louis
2021-10-24 19:05                           ` Jean Louis
2021-10-25  0:12                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25  3:54                               ` Jean Louis
2021-10-22 18:57                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22 18:53                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-22 17:48                     ` Jean Louis
2021-10-22 19:26                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-21 19:45     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-20  4:04 ` Ivano Da Milano
2021-10-20  5:46 ` H. Dieter Wilhelm
2021-10-20  5:58   ` Emanuel Berg via Users list for the GNU Emacs text editor
     [not found]   ` <CAPWV0kyjr0=FrkVkH+Wf573fddX3pM4iiEfkQJ6oe1J_pQuNPA@mail.gmail.com>
     [not found]     ` <86a6j3wo7y.fsf@duenenhof-wilhelm.de>
     [not found]       ` <CAPWV0kyogB+u0X4dUhpyEox6pih1MJkjE2e_OoqQoP81NZceHQ@mail.gmail.com>
2021-10-20 18:31         ` Fwd: " Ivano Da Milano
2021-10-20  6:50 ` Jean Louis
2021-10-20  8:20   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-20 14:13     ` Jean Louis
2021-10-21 19:56       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-23 10:51         ` Tassilo Horn
2021-10-23 18:36           ` Emanuel Berg via Users list for the GNU Emacs text editor

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=YXUGXDRjPbqB1dqX@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=yuri.v.khan@gmail.com \
    /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.