[master] School project -- random data entropy
Vratislav Podzimek
vpodzime at redhat.com
Fri May 24 17:01:52 UTC 2013
These are the patches related to my school project focusing on random data
entropy in the installation process. The make use of the related blivet patches.
PATCH 1/2 tells blivet which callbacks should be used instead of it directly
using and understanding our progress handling.
PATCH 2/2 adds callback for the case where there is not enough entropy in the
kernel pool. The user may help by moving mouse or typing on keyboard. The
functionality is shown in this video preview:
http://vpodzime.fedorapeople.org/ensure_entropy.webm
Just please note that I used 1500 bits of entropy as the minimal level, which is
much higher than what is actually needed. I believe that using a reasonable
value (like 256 bits in the blivet patches) would mean this dialog will hardly
ever appear. Another note -- unfortunately, the dialog cannot be lightboxed,
because the place where the callbacks are passed to blivet has no reference to
the UI and bypassing that would mean a lot of hacks and changes.
Vratislav Podzimek (2):
Use callbacks for blivet
Inform user we are waiting for random data entropy
anaconda.spec.in | 2 +-
po/POTFILES.in | 3 +
pyanaconda/install.py | 14 ++++-
pyanaconda/progress.py | 8 +++
pyanaconda/ui/gui/spokes/lib/entropy_dialog.glade | 61 +++++++++++++++++++++
pyanaconda/ui/gui/spokes/lib/entropy_dialog.py | 57 +++++++++++++++++++
pyanaconda/ui/lib/entropy.py | 67 +++++++++++++++++++++++
7 files changed, 209 insertions(+), 3 deletions(-)
create mode 100644 pyanaconda/ui/gui/spokes/lib/entropy_dialog.glade
create mode 100644 pyanaconda/ui/gui/spokes/lib/entropy_dialog.py
create mode 100644 pyanaconda/ui/lib/entropy.py
--
1.7.11.7
More information about the anaconda-patches
mailing list