All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Add whitelisting support for load_env
@ 2013-09-25  2:00 Jon McCune
  2013-09-25  2:00 ` [PATCH v4 1/4] style: indent --no-tabs --gnu-style grub-core/commands/loadenv.c Jon McCune
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jon McCune @ 2013-09-25  2:00 UTC (permalink / raw)
  To: grub-devel; +Cc: Jon McCune

These patches add support to load_env and save_env to work nicely
in concert with check_signatures=enforce.  This represents an
evolution from the design in my email to grub-devel entitled
"Proposal to enable savedefault, one-shot reboot, etc with
check_signatures=enforce".  In particular, no new commands are added.
Instead, the behavior of load_env is modified based on the presence
of a whitelist of environment variables to be updated from an
untrusted grubenv-style file.

Some additional work is done to make this support usable:
A {-k, --pubkey} option is added to:
grub-install, grub-mkrescue, grub-mkstandalone, grub-mknetdir.
See the individual patch descriptions for more specifics.

Jon McCune (4):
  style: indent --no-tabs --gnu-style grub-core/commands/loadenv.c
  load_env support for whitelisting which variables are read from an env
    file, even if check_signatures=enforce
  save_env should work, even if check_signatures=enforce
  Add (multiple) -k, --pubkey=FILE support to installation commands.

 grub-core/commands/loadenv.c | 139 ++++++++++++++++++++++++++++---------------
 grub-core/lib/envblk.c       |  20 ++++++-
 include/grub/lib/envblk.h    |   8 +++
 util/grub-editenv.c          |   2 +-
 util/grub-install.in         |   8 +--
 util/grub-install_header     |  17 ++++++
 util/grub-mknetdir.in        |   2 +-
 util/grub-mkrescue.in        |  12 ++--
 util/grub-mkstandalone.in    |   2 +-
 9 files changed, 146 insertions(+), 64 deletions(-)

-- 
1.8.4



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-09-27  2:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25  2:00 [PATCH v4 0/4] Add whitelisting support for load_env Jon McCune
2013-09-25  2:00 ` [PATCH v4 1/4] style: indent --no-tabs --gnu-style grub-core/commands/loadenv.c Jon McCune
2013-09-25  6:11   ` Andrey Borzenkov
2013-09-25 15:02     ` Jonathan McCune
2013-09-25  2:00 ` [PATCH v4 2/4] load_env support for whitelisting which variables are read from an env file, even if check_signatures=enforce Jon McCune
2013-09-25  6:09   ` Andrey Borzenkov
2013-09-25 15:01     ` Jonathan McCune
2013-09-27  2:20       ` Andrey Borzenkov
2013-09-25  2:00 ` [PATCH v4 3/4] save_env should work, " Jon McCune
2013-09-25  2:00 ` [PATCH v4 4/4] Add (multiple) -k, --pubkey=FILE support to installation commands Jon McCune

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.