[RFC 2/4] Add rsa support

Jan Lübbe jlu at pengutronix.de
Tue Mar 17 05:57:46 PDT 2015


On Di, 2015-03-17 at 13:39 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > I want to understand how your image formats would be used in the larger
> > context of a BSP or distribution. Please describe which image formats
> > you want to support (in addition to FIT). How are they structured? How
> > are they generated? Are they already supported by other software? 
> Today we use a bpk formoat
> 
> in bpk format you can store different data for each hw_id, each data have a
> specific type.
> 
> we add a new type for the signature.
> 
> we do a sha512 of the other data of one hw_id and signed it with a rsa4096
> we use 1 unique rsa key per HW_ID
> 
> as soon as one of the file of a specific hw_id is open we check the signature
> 
> The code is no public yet but this is handled at FS level
> 
> and we allow only to open data that have been verified or decrypted if we use
> AES

Thanks for the explanation, it's clearer now.

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list