[master/rhel7-branch] Minimum entropy for LUKS creation

Vratislav Podzimek vpodzime at redhat.com
Fri Aug 29 12:20:02 UTC 2014


These two patches follow the proposal for callbacks in blivet and implement the
minimum entropy for LUKS creation requirement in blivet and anaconda. I've
tested the changes and they work nicely, but there's an issue with the entropy
dialog not being lightboxed because at the place it is called from, there's no
reference to our window providing the lightbox. This may be solved by having our
MainWindow as a singleton in the pyanaconda/ui/gui/__init__.py which is
something I'd like to implement as a follow-up patch for this.

As the discussion about blivet's callback implementation is still ongoing, this
is of course not a final version of the patches. It's just a preview so that we
can catch some potential desing issues. Suggestions, comments and gotchas are
more than welcome.

Vratislav Podzimek (1):
  Require minimum random data entropy when creating LUKS (#1073679)

 po/POTFILES.in                                    |   3 +
 pyanaconda/install.py                             |   5 +-
 pyanaconda/kickstart.py                           |   3 +-
 pyanaconda/ui/gui/spokes/custom.py                |  26 +++---
 pyanaconda/ui/gui/spokes/lib/entropy_dialog.glade |  66 ++++++++++++++
 pyanaconda/ui/gui/spokes/lib/entropy_dialog.py    |  56 ++++++++++++
 pyanaconda/ui/lib/entropy.py                      | 103 ++++++++++++++++++++++
 7 files changed, 250 insertions(+), 12 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.9.3



More information about the anaconda-patches mailing list