[pacman-dev] [PATCH] Inform the user to generate entropy

Dave Reisner d at falconindy.com
Mon Jul 23 09:59:34 EDT 2012


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 at gatech.edu> wrote:
> > FS#30286 Inform the user that entropy is needed
> >
> > Signed-off-by: Daniel Wallace <daniel.wallace at 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
> 



More information about the pacman-dev mailing list