Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Inform the user to generate entropy (http://www.linux-archive.org/archlinux-pacman-development/685783-inform-user-generate-entropy.html)

Daniel Wallace 07-20-2012 11:36 PM

Inform the user to generate entropy
 
FS#30286 Inform the user that entropy is needed

Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu>
---
scripts/pacman-key.sh.in | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index ae491d2..41498c6 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -144,6 +144,7 @@ generate_master_key() {
# Generate the master key, which will be in both pubring and secring
"${GPG_PACMAN[@]}" --gen-key --batch <<EOF
%echo Generating pacman keyring master key...
+%echo Please do something to help gather entropy
Key-Type: RSA
Key-Length: 2048
Key-Usage: sign
--
1.7.11.2

Karol Blazewicz 07-21-2012 12:03 AM

Inform the user to generate entropy
 
On Sat, Jul 21, 2012 at 1:36 AM, Daniel Wallace
<daniel.wallace@gatech.edu> wrote:
> +%echo Please do something to help gather entropy

https://bugs.archlinux.org/task/28027
An example would be welcome. As one forum member remarked, going off
to do some house-cleaning doesn't help ;P

Dan McGee 07-23-2012 01:50 PM

Inform the user to generate entropy
 
On Fri, Jul 20, 2012 at 6:36 PM, Daniel Wallace
<daniel.wallace@gatech.edu> wrote:
> FS#30286 Inform the user that entropy is needed
>
> Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu>
> ---
> scripts/pacman-key.sh.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
> index ae491d2..41498c6 100644
> --- a/scripts/pacman-key.sh.in
> +++ b/scripts/pacman-key.sh.in
> @@ -144,6 +144,7 @@ generate_master_key() {
> # Generate the master key, which will be in both pubring and secring
> "${GPG_PACMAN[@]}" --gen-key --batch <<EOF
> %echo Generating pacman keyring master key...
> +%echo Please do something to help gather entropy

Doesn't gnupg itself print a message like this? I also agree that
without some example of something to do, this message would still
leave me scratching my head if I didn't know as much as I do about the
Linux RNG.

-Dan

Dave Reisner 07-23-2012 01:59 PM

Inform the user to generate entropy
 
On Mon, Jul 23, 2012 at 08:50:45AM -0500, Dan McGee wrote:
> On Fri, Jul 20, 2012 at 6:36 PM, Daniel Wallace
> <daniel.wallace@gatech.edu> wrote:
> > FS#30286 Inform the user that entropy is needed
> >
> > Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu>
> > ---
> > scripts/pacman-key.sh.in | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
> > index ae491d2..41498c6 100644
> > --- a/scripts/pacman-key.sh.in
> > +++ b/scripts/pacman-key.sh.in
> > @@ -144,6 +144,7 @@ generate_master_key() {
> > # Generate the master key, which will be in both pubring and secring
> > "${GPG_PACMAN[@]}" --gen-key --batch <<EOF
> > %echo Generating pacman keyring master key...
> > +%echo Please do something to help gather entropy
>
> Doesn't gnupg itself print a message like this?

It does, but not in --batch mode.

> I also agree that without some example of something to do, this
> message would still leave me scratching my head if I didn't know as
> much as I do about the Linux RNG.
>
> -Dan
>


All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.