All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] doc: clarify openssl-based key and certificate generation process
@ 2016-03-23 23:24 Andreas Dannenberg
  2016-04-02  1:56 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Dannenberg @ 2016-03-23 23:24 UTC (permalink / raw)
  To: u-boot

Add some basic clarification that the dev.key file generated by OpenSSL
contains both the public and private key, and further highlight that
the certificate generated here contains the public key only.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
---
 doc/uImage.FIT/signature.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index b2f89fc..e487401 100644
--- a/doc/uImage.FIT/signature.txt
+++ b/doc/uImage.FIT/signature.txt
@@ -62,14 +62,14 @@ placed alongside rsa.c, and its functions added to the table in image-sig.c
 also.
 
 
-Creating an RSA key and certificate
------------------------------------
-To create a new public key, size 2048 bits:
+Creating an RSA key pair and certificate
+----------------------------------------
+To create a new public/private key pair, size 2048 bits:
 
 $ openssl genpkey -algorithm RSA -out keys/dev.key \
     -pkeyopt rsa_keygen_bits:2048 -pkeyopt rsa_keygen_pubexp:65537
 
-To create a certificate for this:
+To create a certificate for this containing the public key:
 
 $ openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt
 
-- 
2.6.4

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

* [U-Boot] doc: clarify openssl-based key and certificate generation process
  2016-03-23 23:24 [U-Boot] [PATCH] doc: clarify openssl-based key and certificate generation process Andreas Dannenberg
@ 2016-04-02  1:56 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-04-02  1:56 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 23, 2016 at 06:24:10PM -0500, Andreas Dannenberg wrote:

> Add some basic clarification that the dev.key file generated by OpenSSL
> contains both the public and private key, and further highlight that
> the certificate generated here contains the public key only.
> 
> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160401/896669a4/attachment.sig>

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

end of thread, other threads:[~2016-04-02  1:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-23 23:24 [U-Boot] [PATCH] doc: clarify openssl-based key and certificate generation process Andreas Dannenberg
2016-04-02  1:56 ` [U-Boot] " Tom Rini

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.