All of lore.kernel.org
 help / color / mirror / Atom feed
From: Teddy Reed <teddy.reed@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [verified-boot] Compile 'key store' DTB without mkimage and private key
Date: Mon, 25 Apr 2016 09:25:58 -0700	[thread overview]
Message-ID: <CADUykepJDjS0LyEL1F50d3nQaBwJupZ-nUa8B3Gyx-EBmVw4iw@mail.gmail.com> (raw)

Hi all,

I'm curious if anyone has a script (or if I've missed something within
the verified-boot documentation) to compile a DTB given only public
keying information, i.e., a x509 certificate.

I have build/test bots that need to build a u-boot with an
extra/embedded DTB containing a signing public key. I do not want the
private key on those hosts and the only way I've found to build the
documented/required nodes in /signature/key-KEYNAME/
('rsa,r-squared','rsa,modulus', 'rsa,n0-inverse' and 'rsa-num-bits')
is by using mkimage on a FIT with the -K switch. That requires a
private key to do the actual signing.

I'm happy to write something, just want to ask first!

Thanks!

-- 
Teddy Reed V

             reply	other threads:[~2016-04-25 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25 16:25 Teddy Reed [this message]
2016-04-29 23:09 ` [U-Boot] [verified-boot] Compile 'key store' DTB without mkimage and private key Simon Glass
2016-04-30  0:44   ` Teddy Reed
2016-05-02 14:06     ` Simon Glass
2016-05-02 20:24       ` Teddy Reed
2016-05-02 22:15         ` Simon Glass

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-all 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=CADUykepJDjS0LyEL1F50d3nQaBwJupZ-nUa8B3Gyx-EBmVw4iw@mail.gmail.com \
    --to=teddy.reed@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 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.