public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dmitry Mityugov <dmitry.mityugov@gmail.com>
To: edk2-devel@lists.01.org
Subject: change keys in a ..._VARS.fd file programmatically (SecureBoot enabled)
Date: Mon, 5 Feb 2018 17:14:03 +0300	[thread overview]
Message-ID: <CALxDa5WnfFnry2ND7RZUbRd6K9fL-QvUm_x22vkUSDaZjtLuiw@mail.gmail.com> (raw)

Hi,

Could you please let me know if it possible to automate changing keys in a
..._VARS.fd when SecureBoot is enabled? I understand that I can go into the
UEFI shell and change them there manually, but I'm looking for a way to
add/replace/delete them from my program before a KVM VM is started.

I've found an email in this list with a similar question,
https://lists.01.org/pipermail/edk2-devel/2017-August/012995.html , but I'm
not sure if the answer is still valid, or if any new possibilities have
arosen since then.

There are also some home-made editors for the vars, like
http://git.annexia.org/?p=virt-efivars.git;a=summary . Should I go this way
in my adventure?

Thank you in advance for any insight on this subject

-- 
Dmitry


             reply	other threads:[~2018-02-05 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 14:14 Dmitry Mityugov [this message]
2018-02-05 18:06 ` change keys in a ..._VARS.fd file programmatically (SecureBoot enabled) Laszlo Ersek
2018-02-05 18:13   ` Richard W.M. Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALxDa5WnfFnry2ND7RZUbRd6K9fL-QvUm_x22vkUSDaZjtLuiw@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox