From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Noob dumb question (extending emacs) Date: Sat, 23 Oct 2021 01:55:40 +0700 Message-ID: References: <86k0i6uoxd.fsf@duenenhof-wilhelm.de> <871r4ernmt.fsf@zoho.eu> <87o87hnrpt.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="828"; mail-complaints-to="usenet@ciao.gmane.io" To: Yuri Khan , Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 22 20:56:31 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdziQ-000AYL-RN for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 20:56:30 +0200 Original-Received: from localhost ([::1]:33386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdziP-0001QM-Mx for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 14:56:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdzhr-0001O0-BQ for help-gnu-emacs@gnu.org; Fri, 22 Oct 2021 14:55:55 -0400 Original-Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]:35402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdzhp-0000dc-1h for help-gnu-emacs@gnu.org; Fri, 22 Oct 2021 14:55:54 -0400 Original-Received: by mail-ua1-x935.google.com with SMTP id q13so9583637uaq.2 for ; Fri, 22 Oct 2021 11:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=H90fBuTFlcUblQZpmaJARevdEEBaKb1054EuwB2GDK8=; b=KaUP0mbErkiLryGeOHlYWF8x9Ye4oEeXPRjs2XH60GhYsZOm7J9cl6O6KmpZUvsD8L G3uDynpJa0Vwe7d26ebeZXs1KGKfWU6WCQGKG6DTLWXt1nDO8N/W0meSRR50CqDFg+DL n8NH7J0kGCOZ/kI4FATDIO8aSSSY7Wg35QEcqSZU/G80fy/ayEaOUft3jwH2RfsVVNeM xtcdJKy+YLav3IFU+eeNw9gHLYm7NsJGXpUJwrLdtlHJUOqGWVTmWy2Q8dlUFMMeLlHB vThnBCM334HCEQOvzOvhct9RI6WubINmqxPlTRMPjPFcCezm//wDL5l5GZZP5HBNmsHq Q48A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=H90fBuTFlcUblQZpmaJARevdEEBaKb1054EuwB2GDK8=; b=FOptROjH091Mbj8BHkZ6q5t6QVVXC07kCTV6YH9m4QgnEN+InXJLxJRi3u9PzhaGpy IqwXlu0tDjOFjMB/o0meUzzMxRCJTpN/6L/aRxUiSZb5Rn1yak7iVT8NdMtw1iPw21Cp 9oaAhnsvUBpVcvb+rshllOATTIFY54kh4XGw7NV5x03FD3t2CvTaH3G7fj7l91OzvEKl 5hCZ07uqoeQW/8w2djR5RxeguZmw5E0eckSMqkVn8rKlwVgh3FZmYM7BSaTkO0hyYVxi 5G3JXOI3gYmhUwdLulY4uNUN/CtZK0VNeFd4ZEYsXIZyIw50po1dmzuaoPLcm6soTBE8 zNDQ== X-Gm-Message-State: AOAM532/dzl8LjmWcWlt7Cx8VEjNbJX52uLdCTHgQiiFvuCt3e2UOtyZ h2PVOsx516sCzXgqPpckfbPGxzQ3ZuzLGO+w1sFTWyinNGvuHg== X-Google-Smtp-Source: ABdhPJxFoU6AGnWvC2EHX7a3Af/jEYGVAfgO7vmcLw7cQ8/pUtWlQme1UudBlkTldrQQeagc01Mkrkl8BYe8ugJyv8M= X-Received: by 2002:a67:1c05:: with SMTP id c5mr1758214vsc.25.1634928951973; Fri, 22 Oct 2021 11:55:51 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x935.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134023 Archived-At: (Sorry for the previous unfinished email.) On Sat, 23 Oct 2021 at 00:55, Jean Louis wrote: > For people interested, manual explains about randomity: > (info "(elisp) Random Numbers") > > How I understand it, than it may be that neither `pwgen' is generating > truly random numbers. Inspecting the source shows pwgen uses /dev/urandom if available, and /dev/random otherwise, and all bytes of the password come from one of those sources. These are as random as you can get and use thermal noise in your HDD as one of the sources of randomness. On the other hand, the manual for Emacs =E2=80=98random=E2=80=99 says: A deterministic computer program cannot generate true random numbers. For most purposes, =E2=80=9Cpseudo-random numbers=E2=80=9D suffice. Spoiler: secure password generation is not one of those purposes.